MarginRight プロパティ

上部マージンを設定する

倍精度浮動小数点型 (インチ表示、書込みのみ)

注意点

なし

VBScript における使用例

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

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

oPrintJob.PrintOut "C:\input.doc", "C:\output.pdf"
  

VB.NET における使用例

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.7")

Dim oPrintJob As WordPrintJobEx = oPrinter.WordPrintJobEx
oPrintJob.MarginLeft = 1.0
oPrintJob.MarginTop = 1.0
oPrintJob.MarginRight = 1.0
oPrintJob.MarginBottom = 1.0

oPrintJob.PrintOut "C:\input.doc", "C:\output.pdf"

C# における使用例

Printer oPrinter = new Printer();


WordPrintJobEx oPrintJob = oPrinter.WordPrintJobEx;
oPrintJob.MarginLeft = 1.0;
oPrintJob.MarginTop = 1.0;
oPrintJob.MarginRight = 1.0;
oPrintJob.MarginBottom = 1.0;

oPrintJob.PrintOut(@"C:\input.doc", @"C:\output.pdf");