[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetMatrix3D

GetMatrix3D Method

GetMatrix3D(IPdfDict, PdfName, Matrix3D)

Gets the Matrix3D associated with the specified key (in a PDF a Matrix3D should be represented as an array of 12 floats).

Gets defValue if the value does not exist or cannot be converted to a Matrix3D.

Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a Matrix3D.
Declaration
public static Matrix3D GetMatrix3D(this IPdfDict dict, PdfName key, Matrix3D defValue)
Public Shared Function GetMatrix3D(dict As IPdfDict, key As PdfName, defValue As Matrix3D) As Matrix3D
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key of the value to get.

Matrix3D defValue

The default value.

Returns
Type Description
Matrix3D

The value associated with the specified key.

GetMatrix3D(IPdfDict, PdfName, Matrix3D?)

Gets the Matrix3D associated with the specified key (in a PDF a Matrix3D should be represented as an array of 12 floats).

Gets defValue if the value does not exist or cannot be converted to a Matrix3D.

Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a Matrix3D.
Declaration
public static Matrix3D? GetMatrix3D(this IPdfDict dict, PdfName key, Matrix3D? defValue)
Public Shared Function GetMatrix3D(dict As IPdfDict, key As PdfName, defValue As Matrix3D?) As Matrix3D?
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key of the value to get.

Matrix3D? defValue

The default value.

Returns
Type Description
Matrix3D?

The value associated with the specified key.