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

MarginLeft Property

Sets left margin.

double MarginLeft { set; }
Property MarginLeft As Double ' WriteOnly
def setMarginLeft(self, value)
void setMarginLeft(double value) throws PrinterException
function setMarginLeft($value) 
BclPrnResult SetMarginLeft(BclPrinter* pPrinter, double newVal);
Property MarginLeft As Double ' WriteOnly
bepprint +Excel -native|-xps -left <dimension>

Type

Double (inches, write-only)

Remarks

N/A.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.ExcelPrintJobEx
oPrintJob.MarginLeft = 1.0
oPrintJob.MarginTop = 1.0
oPrintJob.MarginRight = 1.0
oPrintJob.MarginBottom = 1.0

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