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

UiAlerts Property

Gets/Sets the flag that indicates whether to display dialog box when error occurs during printing.

bool UiAlerts { get; set; }

Property UiAlerts As Boolean

def getUiAlerts(self)
def setUiAlerts(self, value)
boolean getUiAlerts() throws PrinterException
void setUiAlerts(boolean value) throws PrinterException
function getUiAlerts() 
function setUiAlerts($value) 
BclPrnResult GetUiAlerts(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetUiAlerts(BclPrinter* pPrinter, BclBool newVal);
Property UiAlerts As Boolean

Type

Boolean

Remarks

N/A.

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"