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

IgnorePrintAreas Property

Determines whether to ignore any print areas set when converting to PDF.

bool IgnorePrintAreas { get; set; }

Property IgnorePrintAreas As Boolean

def getIgnorePrintAreas(self)
def setIgnorePrintAreas(self, value)
boolean getIgnorePrintAreas() throws PrinterException
void setIgnorePrintAreas(boolean value) throws PrinterException
function getIgnorePrintAreas() 
function setIgnorePrintAreas($value) 
BclPrnResult GetIgnorePrintAreas(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetIgnorePrintAreas(BclPrinter* pPrinter, BclBool newVal);
Property IgnorePrintAreas As Boolean

Type:

Boolean

Remarks

This property is False by default. Set it to True to ignore any print areas set when converting to PDF.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.ExcelPrintJobEx
oPrintJob.IgnorePrintAreas = True
oPrintJob.PrintOut "C:\test\input.xls", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As ExcelPrintJobEx = oPrinter.ExcelPrintJobEx
oPrintJob.IgnorePrintAreas = True
oPrintJob.PrintOut "C:\test\input.xls", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
ExcelPrintJobEx oPrintJob = oPrinter.ExcelPrintJobEx;
oPrintJob.IgnorePrintAreas = true;
oPrintJob.PrintOut(@"C:\test\input.xls", @"C:\test\output.pdf");