Debenu Quick PDF logo

SetOptionalContentGroupVisible

Content Streams and Optional Content Groups

Description

This function allows an optional content group to be marked as visible or invisible when the document is opened.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetOptionalContentGroupVisible(
  OptionalContentGroupID, Visible: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOptionalContentGroupVisible(
  OptionalContentGroupID As Long, Visible As Long) As Long

DLL

int DPLSetOptionalContentGroupVisible(int InstanceID, int OptionalContentGroupID,
  int Visible)

Parameters

OptionalContentGroupID An ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions
Visible 0 = Not visible
1 = Visible

Return values

Non-zero An ID that can be used as the OptionalContentGroupID parameter with the other optional content group functions

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport