Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / GetMatrix Method / GetMatrix(IPdfDictHolder,String,Matrix3x2) Method
The current PDF dictionary holder.
The key of the value to get.
The default value.

In This Topic
    GetMatrix(IPdfDictHolder,String,Matrix3x2) Method
    In This Topic
    Gets the System.Numerics.Matrix3x2 associated with the specified key (in a PDF a System.Numerics.Matrix3x2 should be represented as an array of 6 floats).

    Gets defValue if the value does not exist or cannot be converted to a System.Numerics.Matrix3x2.

    Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a System.Numerics.Matrix3x2.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetMatrix( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal defValue As System.Numerics.Matrix3x2 _
    ) As System.Numerics.Matrix3x2
    public static System.Numerics.Matrix3x2 GetMatrix( 
       IPdfDictHolder pdh,
       System.string key,
       System.Numerics.Matrix3x2 defValue
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to get.
    defValue
    The default value.

    Return Value

    The value associated with the specified key.
    See Also