ImageFillColor

Image handling, Color, Page layout

Description

Returns the color of the center pixel in the selected image. This could be used to identify a placeholder image for later replacement.

Syntax

Delphi

Function TPDFlib.ImageFillColor: Integer;

ActiveX

Function PDFlib::ImageFillColor() As Long

DLL

int DLImageFillColor(int InstanceID);

Return values

Returns the color of the center pixel in the selected image. Returns 0 when no image is selected.