SetMarkedContentTextProperty

コンテンツストリーム編集

説明

マーク付きコンテンツ命令の BDC プロパティリストに Unicode テキストのプロパティを設定し、プロパティ辞書向けに値をエンコードします

構文

Delphi

Function TPDFContentProgram.SetMarkedContentTextProperty(InstructionIndex: Integer; Const PropertyName: AnsiString; Const PropertyValue: WideString): Boolean;

パラメータ

InstructionIndexマーク付きコンテンツ命令のインデックス
PropertyNameBDC プロパティリストに設定するプロパティの名前
PropertyValueプロパティの Unicode テキスト値。プロパティ辞書向けにエンコードされます

戻り値

プロパティを設定できた場合は True、それ以外は False

備考

値がすでに有効なコンテンツストリームソースなら SetMarkedContentPropertySource を、名前付きの /Properties リソースを参照させるなら SetMarkedContentPropertyResource を使います。プロパティの取り除き方は DeleteMarkedContentProperty または ClearMarkedContentProperties です

関連項目

TPDFContentProgram、SetMarkedContentPropertySource、SetMarkedContentPropertyResource、DeleteMarkedContentProperty、ClearMarkedContentProperties