combit List & Label 29 - .NET Help
combit.Reporting 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



In This Topic
    LlRTFDisplay Method
    In This Topic

    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also