combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlRTFEditObject Method

RTF object handle

handle of parent window or host control

Reference DC of the destination (usually a printer DC). Important for the choice of available fonts. Can be null, in which case the default printer is being used.

projecttype. See LlProject
Value Meaning
true

the dialog will be displayed modally.

false

the control passed as hWnd will be replaced by the RTF control.



In This Topic
    LlRTFEditObject Method
    In This Topic

    Displays the RTF editor to the user. All variables and - in case of LlProject.List - all fields are available for use in expressions.

    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 Function LlRTFEditObject( _
       ByVal objectInstance As IntPtr, _
       ByVal windowHandle As IntPtr, _
       ByVal hDC As IntPtr, _
       ByVal projectType As LlProject, _
       ByVal modal As Boolean _
    ) As Integer

    Parameters

    objectInstance

    RTF object handle

    windowHandle

    handle of parent window or host control

    hDC

    Reference DC of the destination (usually a printer DC). Important for the choice of available fonts. Can be null, in which case the default printer is being used.

    projectType
    projecttype. See LlProject
    modal
    Value Meaning
    true

    the dialog will be displayed modally.

    false

    the control passed as hWnd will be replaced by the RTF control.

    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