GetOffsets(IPdfDictHolder,String,Offsets) Method
In This Topic
Gets the
GrapeCity.Documents.Common.Offsets associated with the specified key (in a PDF a
GrapeCity.Documents.Common.Offsets should be represented as an array of 4 floats).
Gets if the value does not exist or cannot be converted to an GrapeCity.Documents.Common.Offsets.
Adds a warning to
GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to an
GrapeCity.Documents.Common.Offsets.
Syntax
'Declaration
Public Overloads Shared Function GetOffsets( _
ByVal As IPdfDictHolder, _
ByVal As System.String, _
ByVal As Offsets _
) As Offsets
public static Offsets GetOffsets(
IPdfDictHolder ,
System.string ,
Offsets
)
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