Universal Document Converter
Informazioni sul prodotto
Scarica
Acquista
Tutorial
Soluzioni per sviluppatori
Servizio di assistenza
Chi fCoder SIA


      Cerca nel sito
   


      Conversioni più richieste
Da Adobe PDF a JPEG
Da documento Word a PDF
Da foglio di lavoro Excel a PDF
Da PowerPoint a JPEG
Da disegno Visio a PDF
Da disegno AutoCAD a TIFF
Da pagina Web a JPEG
Convertire di lavoro Excel in PDF
Convertire da DjVu in PDF
Pagine Web in PDF



Pagina principale>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


© 2001-2017 fCoder SIA Chi fCoder SIA | Mappa del sito