ImageGear .NET - Updated
GetByteCount Method




ImageGear23.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEText Class : GetByteCount 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 number of bytes occupied by the character code or text run.
Syntax
'Declaration
 
Public Function GetByteCount( _
   ByVal options As ImGearPDETextFlags, _
   ByVal index As Integer _
) As Integer
'Usage
 
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim value As Integer
 
value = instance.GetByteCount(options, index)
public int GetByteCount( 
   ImGearPDETextFlags options,
   int index
)
public: int GetByteCount( 
   ImGearPDETextFlags options,
   int index
) 
public:
int GetByteCount( 
   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

Number of bytes occupied by the text run or character.
See Also

Reference

ImGearPDEText Class
ImGearPDEText Members
ImGearPDETextFlags Enumeration