ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTRichText Class / ImGearARTRichText Constructor / ImGearARTRichText Constructor(IImGearRectangle,String)
Mark's rectangle.
RTF formatted text.




In This Topic
    ImGearARTRichText Constructor(IImGearRectangle,String)
    In This Topic
    Initializes a new instance of the ImGearARTRichText class object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rect As IImGearRectangle, _
       ByVal richText As String _
    )
    'Usage
     
    Dim rect As IImGearRectangle
    Dim richText As String
     
    Dim instance As New ImGearARTRichText(rect, richText)
    public ImGearARTRichText( 
       IImGearRectangle rect,
       string richText
    )
    public: ImGearARTRichText( 
       IImGearRectangle* rect,
       string* richText
    )
    public:
    ImGearARTRichText( 
       IImGearRectangle^ rect,
       String^ richText
    )

    Parameters

    rect
    Mark's rectangle.
    richText
    RTF formatted text.
    Remarks
    This constructor validates if the richText argument is a valid RTF-formatted string and throws the ImGearException with a PARAMETER_HAS_INVALID_VALUE error code if it is not.
    See Also