Jump to content
Developer Wiki and Function Reference Links ×

Print to PDF


Recommended Posts

I am trying to print / export a PDF file.

I am using (full script Below)

AcquireExportPDFSettingsAndLocation

This launches a dialog window that I then have to manually set the file location and click okay...

I want all this automated, how?.

Is there a way to tell a Dialog what settings they are. If so is there a way to find out what the dialog settings are so I can tell them.

Anyone else have a method of exporting PDF or Image files that can be fully automated?.

Procedure ChangeThis1;

VAR

i: Integer;

Result: BOOLEAN;

Result2: BOOLEAN;

lName: String;

handleToLayer: Handle;

BEGIN;

Result:=AcquireExportPDFSettingsAndLocation(true);

Result2:=OpenPDFDocument('PDFOutput');

i:= ExportPDFPages('test');

ClosePDFDocument;

END;

Run (ChangeThis1);

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...