SetCapturedPageOptional

Luồng nội dung và nhóm nội dung tùy chọn, Bố cục trang

Mô tả

Gắn trang đã capture với một optional-content group hoặc membership dictionary

Cú pháp

Delphi

Function TPDFlib.SetCapturedPageOptional(CaptureID, OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::SetCapturedPageOptional(CaptureID As Long, OptionalContentGroupID As Long) As Long

DLL

int DLSetCapturedPageOptional(int InstanceID, int CaptureID, int OptionalContentGroupID);

Tham số

CaptureIDID do hàm CapturePage trả về khi trang đã được capture trước đó
OptionalContentGroupIDAn optional-content group handle or a membership handle returned by NewOptionalContentMembership

Giá trị trả về

0Capture handle hoặc optional-content handle không hợp lệ
1Đã liên kết trang đã capture với optional-content object thành công