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
| CaptureID | The ID returned by the CapturePage function when a page was previously captured |
|---|---|
| OptionalContentGroupID | An optional-content group handle or a membership handle returned by NewOptionalContentMembership |
Return values
| 0 | The capture or optional-content handle was not valid |
|---|---|
| 1 | The captured page was linked to the optional-content object successfully |