Quick PDF logo

SetLayerOptional

Layers and Optional Content Groups

Description

Links the selected layer to an optional content group. This allows the layer to be selectively shown in Acrobat 6 or later.

Syntax

Delphi

function TQuickPDF0726.SetLayerOptional(OptionalContentGroupID: Integer): Integer;

ActiveX

Function QuickPDF0726.PDFLibrary::SetLayerOptional(
  OptionalContentGroupID As Long) As Long

DLL

int QuickPDFSetLayerOptional(int InstanceID, int OptionalContentGroupID)

Parameters

OptionalContentGroupID An ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions

Return values

0 The OptionalContentGroupID parameter was not valid
1 The layer was linked to the optional content group successfully

Copyright © 2013 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum