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 LongDLL
int DLFillImageBlock(int InstanceID, int Page, int BlockIndex, int ImageID, int Options);Parameter
| Page, BlockIndex | Blockauswahl |
|---|---|
| ImageID | Bild-ID, die ein AddImage-Einstiegspunkt zurückgegeben hat |
| Options | Bit 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