Einzelnen Beitrag anzeigen

thomas2009
(Gast)

n/a Beiträge
 
#8

AW: Wie ändere ch die PDF Infos bei sdPDF ?

  Alt 25. Apr 2011, 21:26
In unit preview.pas gibt es nicht
sicher in dspdf.dll

Die Infos stehen in dspdf.txt:
Code:
exported functions:

function BeginDoc(FileName: PChar): Integer; stdcall;
function EndDoc: Integer; stdcall;
function NewPage: Integer; stdcall;
function PrintPageF(FileName: PChar): Integer; stdcall;
function PrintPageM(Data: Pointer; Size: Integer): Integer; stdcall;
function SetPage(page_size, orientation, page_width, page_height: Integer): Integer; stdcall;
function SetDocumentInfo(what: Integer; Value: PChar): Integer; stdcall;

SetPage page_size:

UserDefined=0
Letter=1
A4=2
A3=3
Legal=4
B5=5
C5=6
8x11=7
B4=8
A5=9
Folio=10
Executive=11
EnvB4=12
EnvB5=13
EnvC6=14
EnvDL=15
EnvMonarch=16
Env9=17
Env10=18
Env11=19

SetPage orientation:

Portrait=0
Landscape=1

SetDocumentInfo what:

0=Producer
1=Author
2=Creator
3=Subject
4=Title