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




In This Topic
    GetGState(ImGearPDETextFlags,Int32) Method
    In This Topic
    Gets the graphics state of a character or a text run.
    Syntax
    'Declaration
     
    Public Overloads Function GetGState( _
       ByVal options As ImGearPDETextFlags, _
       ByVal index As Integer _
    ) As ImGearPDEGraphicState
    'Usage
     
    Dim instance As ImGearPDEText
    Dim options As ImGearPDETextFlags
    Dim index As Integer
    Dim value As ImGearPDEGraphicState
     
    value = instance.GetGState(options, index)
    public ImGearPDEGraphicState GetGState( 
       ImGearPDETextFlags options,
       int index
    )
    public: ImGearPDEGraphicState* GetGState( 
       ImGearPDETextFlags options,
       int index
    ) 
    public:
    ImGearPDEGraphicState^ GetGState( 
       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

    ImGearPDEGraphicState class object, which is the graphics state of specified character or text run.
    See Also