ImageGear PDF v25.2 - Updated
GetFont Method (ImGearPDEText)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEText Class : GetFont Method
Specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either:CHAR -- for a text characterRUN -- for a text run.
Index of the character or text run in the text object.
Gets the font for a text character or element.
Syntax
'Declaration
 
Public Function GetFont( _
   ByVal options As ImGearPDETextFlags, _
   ByVal index As Integer _
) As ImGearPDEFont
'Usage
 
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim value As ImGearPDEFont
 
value = instance.GetFont(options, index)
public ImGearPDEFont GetFont( 
   ImGearPDETextFlags options,
   int index
)
public: ImGearPDEFont* GetFont( 
   ImGearPDETextFlags options,
   int index
) 
public:
ImGearPDEFont^ GetFont( 
   ImGearPDETextFlags options,
   int index
) 

Parameters

options
Specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either:CHAR -- for a text characterRUN -- for a text run.
index
Index of the character or text run in the text object.

Return Value

ImGearPDEFont class object.
See Also

Reference

ImGearPDEText Class
ImGearPDEText Members
ImGearPDETextFlags Enumeration
ImGearPDEFont Class

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