combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlRTFSetText(IntPtr,String) Method
RTF object handle.
New contents.


In This Topic
    LlRTFSetText(IntPtr,String) Method
    In This Topic

    Sets the text into the RTF control. The format of the text (plain or RTF) is being auto-detected. 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 LlRTFSetText( _
       ByVal objectInstance As IntPtr, _
       ByVal text As String _
    ) 
    public void LlRTFSetText( 
       IntPtr objectInstance,
       string text
    )
    public:
    void LlRTFSetText( 
       IntPtr objectInstance,
       String^ text
    ) 

    Parameters

    objectInstance
    RTF object handle.
    text
    New contents.
    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