AddOptionalContentConfigOrderLabel

Optional content, layer panels, document editing

תיאור

Adds a non-toggleable text label that can contain nested labels and optional-content groups

תחביר

Delphi

Function TPDFlib.AddOptionalContentConfigOrderLabel(OptionalContentConfigID, ParentOrderItemID: Integer; Const LabelText: WideString): Integer;

DLL

int DLAddOptionalContentConfigOrderLabel(int InstanceID, int OptionalContentConfigID, int ParentOrderItemID, const wchar_t *LabelText);

ActiveX

Function PDFlib::AddOptionalContentConfigOrderLabel(OptionalContentConfigID As Long, ParentOrderItemID As Long, LabelText As String) As Long

פרמטרים

OptionalContentConfigIDOne-based configuration identifier
ParentOrderItemIDZero for a root branch or a branch handle returned by an earlier order insertion
LabelTextNon-empty label displayed in the viewer layer panel

ערכי החזרה

מחזירה handle של ענף לשימוש חוזר במקרה של הצלחה, או 0 כאשר הקלט אינו חוקי

הערות

handle של ענף שייך למסמך ומתקבל רק על ידי התצורה שמכילה אותו

ראו גם

AddOptionalContentConfigOrderGroup, ClearOptionalContentConfigOrder