Universal Document Converter
製品の概要
ダウンロード
ご購入
チュートリアル
開発者の方へ
サポートサービス
fCoder SIAについて


      サイト検索
   


      Video tutorial
Show tutorial



Main page>Developer Solutions>Interfaces>IUDC>IUDCPrinter>IProfile>IPageSetup

IPageSetup


The IPageSetup interface is designed to control principal output file page settings, such as size, resolution, etc.

Properties

Float Height

Defines page height using the units of measure set in the Units property. Please note, that whenever page size is modified, page format must also be modified to one of the existing formats from the list (if there is a page format that matches) or to Custom. Valid range: between 10 and 3251. It is both readable and writable.

String FormName
Defines page format name. It is both readable and writable.

Enum Orientation
Sets output file page orientation. Please note, that if it is modified, the values in Width and Height need not be swapped. It is both readable and writable.
ConstantValueDescription
PO_PORTRAIT0Portrait
PO_LANDSCAPE1Landscape

Integer ResolutionX
Defines horizontal page resolution for printing (in DPI). Valid range: between 50 and 6000. It is both readable and writable.

Integer ResolutionY
Defines vertical page resolution for printing (in DPI). Valid range: between 50 and 6000. It is both readable and writable.

Enum Units
Defines the units of measure for page height and width. It is both readable and writable.
ConstantValueDescription
UNIT_IN0Inches
UNIT_MM1Millimeters
UNIT_PX2Pixels

Float Width
Defines page width using the units of measure set in the Units property. Please note, that whenever page size is modified, page format must also be modified to one of the existing formats from the list (if there is a page format that matches) or to Custom. Valid range: between 10 and 3251. It is both readable and writable.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Dim itfProfile As IProfile Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Set itfProfile = itfPrinter.Profile itfProfile.PageSetup.Units = UNIT_IN itfProfile.PageSetup.Width = 10.5 itfProfile.PageSetup.Height = 15.3 itfProfile.PageSetup.Orientation = PO_LANDSCAPE itfProfile.PageSetup.ResolutionX = 600 itfProfile.PageSetup.ResolutionY = 600


© fCoder SIA fCoder SIAについて | サイトマップ