AddStampAnnotationFromImageIDA
Annotations and hotspot links
Description
O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de AddStampAnnotationFromImageID e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode
Adds a custom stamp annotation to the selected page based on the image ID that is already added to the document. The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color. The color only affects the background color of the popup and not the stamp itself.
Syntax
Delphi
Function DLAddStampAnnotationFromImageIDA(InstanceID: Integer; Left, Top, Width, Height: Double; ImageID: Integer; Title, Contents: PAnsiChar; Red, Green, Blue: Double; Options: Integer): Integer;
DLL
int DLAddStampAnnotationFromImageIDA(int InstanceID, double Left, double Top, double Width, double Height, int ImageID, const char * Title, const char * Contents, double Red, double Green, double Blue, int Options);
Parameters
Left
The horizontal coordinate of the left edge of the stamp annotation
Top
The vertical coordinate of the top edge of the stamp annotation
Width
The width of the annotation
Height
The height of the annotation
ID of the image that should be used as stamp
ImageID
Title
The title of the popup annotation
Contents
The contents of the popup annotation
Red
The red component of the popup annotation's background color
Green
The green component of the popup annotation's background color
Blue
The blue component of the popup annotation's background color
Options
Reserved for future use. Should always be set to 0.
Return values
| 0 | The stamp annotation could not be added to the page |
|---|---|
| 1 | Success |