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 TDebenuPDFLibrary1811.SetCapturedPageOptional(CaptureID,
OptionalContentGroupID: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::SetCapturedPageOptional(CaptureID As Long,
OptionalContentGroupID As Long) As Long
DLL
int DPLSetCapturedPageOptional(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 |