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

MarginBottom Property

Sets bottom margin.

double MarginBottom { set; }
Property MarginBottom As Double ' WriteOnly
def setMarginBottom(self, value)
void setMarginBottom(double value) throws PrinterException
function setMarginBottom($value) 
BclPrnResult SetMarginBottom(BclPrinter* pPrinter, double newVal);
Property MarginBottom As Double ' WriteOnly
bepprint +IE -bottom <dimension>

Type

Double (inches)

Remarks

N/A.

Example Usage

'VB Sample Code

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

Set oPrintJob = oPrinter.IEPrintJob

oPrintJob.MarginLeft = 1.0
oPrintJob.MarginTop = 1.0
oPrintJob.MarginRight = 1.0
oPrintJob.MarginBottom = 1.0

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


//C# Sample Code

PrinterClass printerObj = new PrinterClass();

IEPrintJob printJobObj = printerObj.IEPrintJob;

printJobObj.MarginLeft = 0.75;
printJobObj.MarginTop = 0.75;
printJobObj.MarginRight = 0.75;
printJobObj.MarginBottom = 0.75;

printJobObj.PrintOut("http://www.pdfonline.com/", @"C:\test\output.pdf");