AddBlock
Blokken, interactie
Beschrijving
Zet een template block-annotatie op de huidige pagina voor latere persoonlijke invulling
Syntaxis
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);Parameters
| BlockType | text, image of pdf, matcht case-insensitief |
|---|---|
| BlockName | Niet-lege blocknaam |
| Left, Top, Width, Height | Rectangle in top-based facade-coördinaten |
| Properties | Optionele key=value;key=value-lijst die in de annotation contents wordt opgeslagen |
Retourwaarden
| 1 bij succes, 0 bij ongeldige argumenten |
Opmerkingen
Block-annotaties dragen geen eigen appearance, dus viewers renderen de placeholders niet