PageArea

FieldData.PageArea property

フィールドの値を取得します。

public PageArea PageArea { get; }

プロパティ値

のインスタンスPageAreaフィールドの値を表すクラス。

フィールドによるPageAreaproperty には、の継承者のいずれかを含めることができますPageAreaクラス。 たとえば、ParseFormメソッドはテキスト フィールドのみを抽出します。

// フィールドデータを取得
FieldData field = data[i];
// フィールド データにテキストが含まれているかどうかを確認します
if(field.PageArea is PageTextArea)
{
    // フィールドのテキスト値を出力します
    Console.WriteLine(field.Text);
}

関連項目