easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

UiFileDialog Property

Gets/Sets the flag that indicates whether to display the "Save As" dialog box before conversion starts.

bool UiFileDialog { get; set; }

Property UiFileDialog As Boolean

def getUiFileDialog(self)
def setUiFileDialog(self, value)
boolean getUiFileDialog() throws PrinterException
void setUiFileDialog(boolean value) throws PrinterException
function getUiFileDialog() 
function setUiFileDialog($value) 
BclPrnResult GetUiFileDialog(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetUiFileDialog(BclPrinter* pPrinter, BclBool newVal);
Property UiFileDialog As Boolean




Use this property with caution if you use the PrintOut method to print PDF, because end-user can modify the output file name.  If output file name is modified by end-user, then you can get the new name from PrintJobMonitor's OnPrinterUpdate event.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob
Set oPDFSetting = oPrintJob.PDFSetting

' Enable end-user interactions
oPDFSetting.UiAlerts = True
oPDFSetting.UiFileDialog = True
oPDFSetting.UiPropertiesDialog = True

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"