ImageGear .NET v24.12 - Updated
ImGearARTRichText Constructor(IImGearRectangle,String,IImGearRGBQuad,ImGearARTBorder,Int32)




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearARTRichText Class > ImGearARTRichText Constructor : ImGearARTRichText Constructor(IImGearRectangle,String,IImGearRGBQuad,ImGearARTBorder,Int32)
Mark's rectangle.
RTF formatted text.
The mark's fill color.
The mark's border.
Opacity of the the mark.
Initializes a new instance of the ImGearARTRichText class object.
Syntax
'Declaration
 
Public Function New( _
   ByVal rect As IImGearRectangle, _
   ByVal richText As String, _
   ByVal fillColor As IImGearRGBQuad, _
   ByVal border As ImGearARTBorder, _
   ByVal opacity As Integer _
)
'Usage
 
Dim rect As IImGearRectangle
Dim richText As String
Dim fillColor As IImGearRGBQuad
Dim border As ImGearARTBorder
Dim opacity As Integer
 
Dim instance As New ImGearARTRichText(rect, richText, fillColor, border, opacity)
public ImGearARTRichText( 
   IImGearRectangle rect,
   string richText,
   IImGearRGBQuad fillColor,
   ImGearARTBorder border,
   int opacity
)
public: ImGearARTRichText( 
   IImGearRectangle* rect,
   string* richText,
   IImGearRGBQuad* fillColor,
   ImGearARTBorder* border,
   int opacity
)
public:
ImGearARTRichText( 
   IImGearRectangle^ rect,
   String^ richText,
   IImGearRGBQuad^ fillColor,
   ImGearARTBorder^ border,
   int opacity
)

Parameters

rect
Mark's rectangle.
richText
RTF formatted text.
fillColor
The mark's fill color.
border
The mark's border.
opacity
Opacity of the the mark.
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
ImGearRGBQuad Structure
ImGearARTBorder Class