SetCapturedPageOptional

Content Streams and Optional Content Groups, Page layout

Description

Links the captured page to an optional-content group or membership dictionary

Syntax

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);

Parameters

CaptureIDThe ID returned by the CapturePage function when a page was previously captured
OptionalContentGroupIDAn optional-content group handle or a membership handle returned by NewOptionalContentMembership

Return values

0The capture or optional-content handle was not valid
1The captured page was linked to the optional-content object successfully