ImageGear .NET v25.0 - Updated
GetText Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEText Class : GetText Method
ImGearPDETextFlags value that 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 character or RUN for a text run.
Index of the character or text run in the text object.
Gets the text for a text run or character.
Syntax
'Declaration
 
Public Function GetText( _
   ByVal options As ImGearPDETextFlags, _
   ByVal index As Integer _
) As String
'Usage
 
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim value As String
 
value = instance.GetText(options, index)
public string GetText( 
   ImGearPDETextFlags options,
   int index
)
public: string* GetText( 
   ImGearPDETextFlags options,
   int index
) 
public:
String^ GetText( 
   ImGearPDETextFlags options,
   int index
) 

Parameters

options
ImGearPDETextFlags value that 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 character or RUN for a text run.
index
Index of the character or text run in the text object.

Return Value

String value. This result is useful only for ASCII-encoded text objects.
See Also

Reference

ImGearPDEText Class
ImGearPDEText Members
ImGearPDETextFlags Enumeration