DioDocs for PDF
TryGetRect メソッド

GrapeCity.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfDictHolderExt クラス : TryGetRect メソッド
現在のPDFの辞書保有者。
取得する値のキー。
指定されたキーに関連付けられた値を出力します。
指定されたキーに関連付けられたを取得します(PDFでは、System.Drawing.RectangleFが、4つのfloatの配列として表される必要があります)。

値は存在するがSystem.Drawing.RectangleFに変換できない場合、GrapeCity.Documents.Pdf.GcPdfDocument.ParserLogに警告を追加します。

シンタックス
'宣言
 
Public Shared Function TryGetRect( _
   ByVal pdh As IPdfDictHolder, _
   ByVal key As System.String, _
   ByRef value As System.Drawing.RectangleF _
) As System.Boolean
public static System.bool TryGetRect( 
   IPdfDictHolder pdh,
   System.string key,
   out System.Drawing.RectangleF value
)

パラメータ

pdh
現在のPDFの辞書保有者。
key
取得する値のキー。
value
指定されたキーに関連付けられた値を出力します。

戻り値の型

キーが見つかり、値をSystem.Drawing.RectangleFに変換できる場合はtrue、それ以外の場合はfalse。
参照

IPdfDictHolderExt クラス
IPdfDictHolderExt メンバ