SetCapturedPageOptional
Content Streams and Optional Content Groups, Page layout
Description
Links the captured page to an optional content group. This allows the captured page to be selectively shown in Acrobat 6 or later.
Syntax
Delphi
function TPDFlib.SetCapturedPageOptional(CaptureID, OptionalContentGroupID: Integer): Integer;ActiveX
Function PDFlib::SetCapturedPageOptional(CaptureID As Long, OptionalContentGroupID As Long) As LongDLL
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 ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions |
Return values
| 0 | The CaptureID or OptionalContentGroupID parameters were not valid |
|---|---|
| 1 | The captured page was linked to the optional content group successfully |