ImageGear PDF v25.2 - Updated
ImGearARTRichText Constructor(IImGearRectangle,String)




ImageGear.Art Assembly > ImageGear.ART Namespace > ImGearARTRichText Class > ImGearARTRichText Constructor : ImGearARTRichText Constructor(IImGearRectangle,String)
Mark's rectangle.
RTF formatted text.
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

Reference

ImGearARTRichText Class
ImGearARTRichText Members
Overload List
ImGearRectangle Structure

Is this page helpful?
Yes No
Thanks for your feedback.