ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEText Class / GetRunForChar Method
Index of the character to find in the text object.




In This Topic
    GetRunForChar Method
    In This Topic
    Gets the index of the text run that contains the nth character in a text object.
    Syntax
    'Declaration
     
    Public Function GetRunForChar( _
       ByVal characterIndex As Integer _
    ) As Integer
    'Usage
     
    Dim instance As ImGearPDEText
    Dim characterIndex As Integer
    Dim value As Integer
     
    value = instance.GetRunForChar(characterIndex)
    public int GetRunForChar( 
       int characterIndex
    )
    public: int GetRunForChar( 
       int characterIndex
    ) 
    public:
    int GetRunForChar( 
       int characterIndex
    ) 

    Parameters

    characterIndex
    Index of the character to find in the text object.

    Return Value

    Index of the text run with the specified character index in the text object.
    See Also