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