ImageGear for .NET
ImGearARTTextFromFile Constructor(IImGearRectangle,String,IImGearRGBQuad,String,Single,ImGearARTFontStyles)




Mark's rectangle.
Path to the file to load text from.
Color of the mark's text.
The name of the font.
The size of the font in points.
The style of the font.
Initializes a new instance of the ImGearARTTextFromFile class object.
Syntax
'Declaration
 
Public Function New( _
   ByVal rect As IImGearRectangle, _
   ByVal text As String, _
   ByVal textColor As IImGearRGBQuad, _
   ByVal fontName As String, _
   ByVal fontSize As Single, _
   ByVal fontStyle As ImGearARTFontStyles _
)
'Usage
 
Dim rect As IImGearRectangle
Dim text As String
Dim textColor As IImGearRGBQuad
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
 
Dim instance As New ImGearARTTextFromFile(rect, text, textColor, fontName, fontSize, fontStyle)
public ImGearARTTextFromFile( 
   IImGearRectangle rect,
   string text,
   IImGearRGBQuad textColor,
   string fontName,
   float fontSize,
   ImGearARTFontStyles fontStyle
)
public: ImGearARTTextFromFile( 
   IImGearRectangle* rect,
   string* text,
   IImGearRGBQuad* textColor,
   string* fontName,
   float fontSize,
   ImGearARTFontStyles fontStyle
)
public:
ImGearARTTextFromFile( 
   IImGearRectangle^ rect,
   String^ text,
   IImGearRGBQuad^ textColor,
   String^ fontName,
   float fontSize,
   ImGearARTFontStyles fontStyle
)

Parameters

rect
Mark's rectangle.
text
Path to the file to load text from.
textColor
Color of the mark's text.
fontName
The name of the font.
fontSize
The size of the font in points.
fontStyle
The style of the font.
See Also

Reference

ImGearARTTextFromFile Class
ImGearARTTextFromFile Members
Overload List
ImGearRectangle Structure
ImGearRGBQuad Structure
ImGearARTFontStyles Enumeration

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback