SetImageOptional

Image handling, Content Streams and Optional Content Groups

Description

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

Syntax

Delphi

function TPDFlib.SetImageOptional(OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::SetImageOptional(OptionalContentGroupID As Long) As Long

DLL

int DLSetImageOptional(int InstanceID, int OptionalContentGroupID);

Parameters

OptionalContentGroupIDAn ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions