ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEText Class / GetMatrix Method / GetMatrix(ImGearPDETextFlags,Int32) 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 characterRUN -- for a text run.
Index of the character or text run in the text object.




In This Topic
    GetMatrix(ImGearPDETextFlags,Int32) Method
    In This Topic
    Returns the transformation matrix from text space to the user space for individual text character or run.
    Syntax
    'Declaration
     
    Public Overloads Function GetMatrix( _
       ByVal options As ImGearPDETextFlags, _
       ByVal index As Integer _
    ) As ImGearPDFFixedMatrix
    'Usage
     
    Dim instance As ImGearPDEText
    Dim options As ImGearPDETextFlags
    Dim index As Integer
    Dim value As ImGearPDFFixedMatrix
     
    value = instance.GetMatrix(options, index)
    public ImGearPDFFixedMatrix GetMatrix( 
       ImGearPDETextFlags options,
       int index
    )
    public: ImGearPDFFixedMatrix* GetMatrix( 
       ImGearPDETextFlags options,
       int index
    ) 
    public:
    ImGearPDFFixedMatrix^ GetMatrix( 
       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 characterRUN -- for a text run.
    index
    Index of the character or text run in the text object.

    Return Value

    ImGearPDFFixedMatrix class object that holds the matrix of specified character or text run.
    Remarks
    See section '5.3.1 Text-Positioning Operators' of the PDF Reference for more details.
    See Also