combit List & Label 25 - .NET Online Web Help
LlRTFDisplay Method


combit.ListLabel25 Namespace > LlCore Class : LlRTFDisplay Method

RTF object handle

DC for the device. If null, the standard printer will be used.

rectangle with logical coordinates (mm/10, inch/100 etc.) in which the contents shall be printed. May be null for a printer DC, in which case the whole printable area of the page will be used.

if true, the output will start at the beginning of the text. Else it will be continued after the place where the previous print ended, thus enabling a multi-page print.

state value, used by the next LlRTFDisplay call

Paints the contents of the RTF object in a device context (DC). Can be used to display the RTF contents in a window or print them to the printer.

You should avoid using this API directly - the ListLabelRTFControl Class offers you a much more powerful way to work with the RTF editor.

Syntax
'Declaration
 
Public Sub LlRTFDisplay( _
   ByVal objectInstance As IntPtr, _
   ByVal hDC As IntPtr, _
   ByVal rect As RECT, _
   ByVal restart As Boolean, _
   ByVal state As IntPtr _
) 
public void LlRTFDisplay( 
   IntPtr objectInstance,
   IntPtr hDC,
   RECT rect,
   bool restart,
   IntPtr state
)
public:
void LlRTFDisplay( 
   IntPtr objectInstance,
   IntPtr hDC,
   RECT rect,
   bool restart,
   IntPtr state
) 

Parameters

objectInstance

RTF object handle

hDC

DC for the device. If null, the standard printer will be used.

rect

rectangle with logical coordinates (mm/10, inch/100 etc.) in which the contents shall be printed. May be null for a printer DC, in which case the whole printable area of the page will be used.

restart

if true, the output will start at the beginning of the text. Else it will be continued after the place where the previous print ended, thus enabling a multi-page print.

state

state value, used by the next LlRTFDisplay call

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members