Debenu Quick PDF logo

SetOptionalContentConfigLocked

Content Streams and Optional Content Groups

Version history

This function was introduced in Quick PDF Library version 8.15.

Description

This function is used to lock an optional content group as defined by the specified optional content configuration dictionary.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetOptionalContentConfigLocked(
  OptionalContentConfigID, OptionalContentGroupID, NewLocked: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOptionalContentConfigLocked(
  OptionalContentConfigID As Long, OptionalContentGroupID As Long,
  NewLocked As Long) As Long

DLL

int DPLSetOptionalContentConfigLocked(int InstanceID, int OptionalContentConfigID,
  int OptionalContentGroupID, int NewLocked)

Parameters

OptionalContentConfigID The first default optional content configuration dictionary has an ID of 1. Higher numbers are used for other optional content configuration dictionaries.
OptionalContentGroupID An ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions
NewLocked 0 = Unlocked
1 = Locked

Return values

0 The optional content group could not be locked
1 Success

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport