In This Topic
Tries to get the
GrapeCity.Documents.Common.Offsets associated with the specified key (in a PDF an
GrapeCity.Documents.Common.Offsets should be represented as an array of 4 floats).
Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value exists but cannot be converted to GrapeCity.Documents.Common.Offsets.
Syntax
'Declaration
Public Shared Function TryGetOffsets( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByRef As Offsets _
) As System.Boolean
public static System.bool TryGetOffsets(
IPdfDict ,
PdfName ,
out Offsets
)
Parameters
- dict
- The current dictionary.
- key
- The key of the value to get.
- value
- OUT: the value associated with the specified key.
Return Value
True if the key was found and the value could be converted to an GrapeCity.Documents.Common.Offsets, false otherwise.
See Also