AddStampAnnotation

Anotasi dan tautan area interaktif

Deskripsi

Menambahkan stamp annotation ke halaman terpilih. Nilai parameter warna berkisar 0 sampai 1, dengan 0 berarti 0% dan 1 berarti 100% warna. Warna hanya memengaruhi warna background popup, bukan stamp-nya

Saat dokumen terpilih di bawah PDF 1.3, writer otomatis menaikkan versi PDF efektif ke 1.3 karena stamp annotation diperkenalkan di PDF 1.3

Sintaks

Delphi

Function TPDFlib.AddStampAnnotation(Left, Top, Width, Height: Double; StampType: Integer; Const Title, Contents: WideString; Red, Green, Blue: Double; Options: Integer): Integer;

ActiveX

Function PDFlib::AddStampAnnotation(Left As Double, Top As Double, Width As Double, Height As Double, StampType As Long, Title As String, Contents As String, Red As Double, Green As Double, Blue As Double, Options As Long) As Long

DLL

int DLAddStampAnnotation(int InstanceID, double Left, double Top, double Width, double Height, int StampType, const wchar_t * Title, const wchar_t * Contents, double Red, double Green, double Blue, int Options);

Parameter

Left

Koordinat horizontal tepi kiri stamp annotation

Top

Koordinat vertikal tepi atas stamp annotation

Width

Lebar anotasi

Height

Tinggi anotasi

StampType

0 = Approved

1 = Experimental

2 = NotApproved

3 = AsIs

4 = Expired

5 = NotForPublicRelease

6 = Confidential

7 = Final

8 = Sold

9 = Departmental

10 = ForComment

11 = TopSecret

12 = Draft

13 = ForPublicRelease

Title

Judul anotasi pop-up

Contents

Isi dari popup anotasi

Red

Komponen merah dari warna background popup anotasi

Green

Komponen hijau dari warna background popup anotasi

Komponen biru dari warna background popup anotasi

Blue

Options

Direservasi untuk penggunaan mendatang. Harus selalu diset 0

Nilai kembalian

0Stamp annotation gagal ditambahkan ke halaman
1Success int Options);