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

MarginRight Property

Sets right margin.

double MarginRight { set; }
Property MarginRight As Double ' WriteOnly
def setMarginRight(self, value)
void setMarginRight(double value) throws PrinterException
function setMarginRight($value) 
BclPrnResult SetMarginRight(BclPrinter* pPrinter, double newVal);
Property MarginRight As Double ' WriteOnly
bepprint +Excel -native|-xps -right <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"