FillImageBlock

Blöcke, Interaktion

Beschreibung

Personalisiert einen Bildblock, indem ein registriertes Bild in sein Rechteck gezeichnet wird

Syntax

Delphi

Function FillImageBlock(Page, BlockIndex: Integer; ImageID: Integer;
  Options: Integer): Integer;

ActiveX

Function PDFlib::FillImageBlock(Page As Long, BlockIndex As Long, ImageID As Long, Options As Long) As Long

DLL

int DLFillImageBlock(int InstanceID, int Page, int BlockIndex, int ImageID, int Options);

Parameter

Page, BlockIndexBlockauswahl
ImageIDBild-ID, die ein AddImage-Einstiegspunkt zurückgegeben hat
OptionsBit 1 löscht die Block-Anmerkung nach erfolgreichem Füllen; Bit 2 dehnt auf das exakte Rechteck, statt das Seitenverhältnis zu wahren

Rückgabewerte

1, wenn das Bild platziert wurde, 0 wenn der Block fehlt, kein Bildblock ist oder die Bild-ID ungültig ist

Anmerkungen

Das Bild wird im Rechteck zentriert und die vorherige Bildauswahl wiederhergestellt

Siehe auch

GetBlockCount, AddBlock, GetBlockType, GetBlockRect