RemoveAlternateImage

Image handling, document editing

Description

Removes one alternate-image dictionary from a base image

Syntax

Function TPDFlib.RemoveAlternateImage(BaseImageID, Index: Integer): Integer;

Parameters

BaseImageIDThe base image containing the alternate
IndexThe one-based alternate index to remove

Return value

Returns 1 when the entry was removed or 0 when the image or index is invalid

Remarks

Removing the final entry also removes the base image's /Alternates key

See also

AddAlternateImage, AlternateImageCount