SetMarkedContentPropertyResource

内容流编辑

描述

把标记内容指令的属性指向页面 /Properties 资源字典中的某个命名资源

语法

Delphi

Function TPDFContentProgram.SetMarkedContentPropertyResource(InstructionIndex: Integer; Const ResourceName: AnsiString): Boolean;

参数

InstructionIndex标记内容指令的索引
ResourceName要在页面 /Properties 资源字典中引用的条目名

返回值

资源引用已设置时返回 True,否则返回 false

备注

SetMarkedContentTextProperty 和 SetMarkedContentPropertySource 让属性值随指令一起携带,而这种形式改为引用命名的 /Properties 资源

另请参阅

TPDFContentProgram、SetMarkedContentTextProperty、SetMarkedContentPropertySource、DeleteMarkedContentProperty、ClearMarkedContentProperties