SetMarkedContentTextProperty

内容流编辑

描述

在标记内容指令的 BDC 属性列表上设置一个 Unicode 文本属性,并为属性字典完成值编码

语法

Delphi

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

参数

InstructionIndex标记内容指令的索引
PropertyName要在 BDC 属性列表中设置的属性名
PropertyValue该属性的 Unicode 文本值,会为属性字典完成编码

返回值

属性已设置时返回 True,否则返回 false

备注

值已经是合法内容流源码时请用 SetMarkedContentPropertySource;要引用命名的 /Properties 资源请用 SetMarkedContentPropertyResource;移除属性用 DeleteMarkedContentProperty 或 ClearMarkedContentProperties

另请参阅

TPDFContentProgram、SetMarkedContentPropertySource、SetMarkedContentPropertyResource、DeleteMarkedContentProperty、ClearMarkedContentProperties