DioDocs for PDF
GetOffsets(IPdfDictHolder,String,Nullable<Offsets>) メソッド

GrapeCity.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfDictHolderExt クラス > GetOffsets メソッド : GetOffsets(IPdfDictHolder,String,Nullable<Offsets>) メソッド
現在のPDFの辞書保有者。
取得する値のキー。
デフォルト値。
指定されたキーに関連付けられたGrapeCity.Documents.Common.Offsetsを取得します(PDFでは、GrapeCity.Documents.Common.Offsetsが、4つのfloatの配列として表される必要があります)。

値が存在しないか、GrapeCity.Documents.Common.Offsetsに変換できない場合、defValueを取得します。

値をGrapeCity.Documents.Common.Offsetsに変換できない場合、GrapeCity.Documents.Pdf.GcPdfDocument.ParserLogに警告を追加します。
シンタックス
'宣言
 
Public Overloads Shared Function GetOffsets( _
   ByVal pdh As IPdfDictHolder, _
   ByVal key As System.String, _
   ByVal defValue As System.Nullable(Of Offsets) _
) As System.Nullable(Of Offsets)
public static System.Nullable<Offsets> GetOffsets( 
   IPdfDictHolder pdh,
   System.string key,
   System.Nullable<Offsets> defValue
)

パラメータ

pdh
現在のPDFの辞書保有者。
key
取得する値のキー。
defValue
デフォルト値。

戻り値の型

指定されたキーに関連付けられた値。
参照

IPdfDictHolderExt クラス
IPdfDictHolderExt メンバ
オーバーロード一覧