DioDocs for PDF
GetDateTime メソッド

GrapeCity.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfDictHolderExt クラス : GetDateTime メソッド
現在のPDFの辞書保有者。
取得する値のキー。
デフォルト値。
指定されたキーに関連付けられたGrapeCity.Documents.Pdf.PdfDateTimeオブジェクトを取得します(PDFでは、GrapeCity.Documents.Pdf.PdfDateTimeはPDF文字列として表される必要があります)。

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

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

パラメータ

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

戻り値の型

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

IPdfDictHolderExt クラス
IPdfDictHolderExt メンバ