AddBlock
Blöcke, Interaktion
Beschreibung
Legt eine Template-Block-Anmerkung auf der aktuellen Seite an, die später personalisiert wird
Syntax
Delphi
Function AddBlock(Const BlockType, BlockName: WideString;
Left, Top, Width, Height: Double; Const Properties: WideString): Integer;ActiveX
Function PDFlib::AddBlock(BlockType As String, BlockName As String, Left As Double, Top As Double, Width As Double, Height As Double, Properties As String) As LongDLL
int DLAddBlock(int InstanceID, const wchar_t* BlockType, const wchar_t* BlockName, double Left, double Top, double Width, double Height, const wchar_t* Properties);
int DLAddBlockA(int InstanceID, const char* BlockType, const char* BlockName, double Left, double Top, double Width, double Height, const char* Properties);Parameter
| BlockType | text, image oder pdf; Groß-/Kleinschreibung wird nicht unterschieden |
|---|---|
| BlockName | Nicht leerer Blockname |
| Left, Top, Width, Height | Rechteck in obenzügen Facade-Koordinaten |
| Properties | Optionale key=value;key=value-Liste, die im Contents der Anmerkung abgelegt wird |
Rückgabewerte
| 1 bei Erfolg, 0 bei ungültigen Argumenten |
Anmerkungen
Block-Anmerkungen haben kein eigenes Erscheinungsbild, daher rendern Viewer die Platzhalter nicht