AddBlockA
Blokken, interactie
Beschrijving
De afsluitende A geeft het ANSI (char)-DLL-entrypoint aan; het ActiveX/COM-oppervlak biedt alleen de Unicode-vorm. Het gedrag is identiek aan AddBlock en stringargumenten worden geïnterpreteerd volgens de huidige SetAnsiMode-codepagina
Zet een template block-annotatie op de huidige pagina voor latere persoonlijke invulling
Syntaxis
Delphi
Function DLAddBlockA(InstanceID: Integer; BlockType, BlockName: PAnsiChar; Left, Top, Width, Height: Double; Properties: PAnsiChar): Integer;
DLL
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