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

IUDC


The principal interface providing access to the capabilities of Universal Document Converter

Properties

Enum ActivationMode

Universal Document Converter activation method. It is both readable and writable.
ConstantValueDescription
AM_SILENT0Software activation is transparent to user.
AM_WIZARD1Activation wizard.

String DefaultPrinter
Returns or sets the user's system default printer. It is both readable and writable.

IPageFormat PageFormats (Integer formIndex)  or  PageFormats (String formName)
Provides access to the IPageFormat interface which controls page formats. It is both readable and writable.
ParameterTypeDescription
formIndexIntegerPage format ID.
formNameStringPage format name.

IUDCPrinter Printers (String Name)
Provides access to the IUDCPrinter interface which controls the Universal Document Converter virtual printer. It is both readable and writable.
ParameterTypeDescription
NameStringUniversal Document Converter virtual printer name.

Methods

Activate ()

Enables Universal Document Converter to be pre-activated. Otherwise, software activation will start automatically when any method or property of the IProfile interface is first called. The activation mode may be set prior to calling this method using the ActivationMode property.

AddPageFormat (String sCustomFmtName, Float W, Float H, Enum Units)
Creates a new page format in the Universal Document Converter format list.
ParameterTypeDescription
sCustomFmtNameStringNew page format name.
WFloatNew page format width. Valid range: between 10 and 3251.
HFloatNew page format height. Valid range: between 10 and 3251.
UnitsEnumUnits of measure used for the new page format height and width. May take on the following values:
ConstantValueDescription
UNIT_IN0Inches.
UNIT_MM1Millimeters.
UNIT_PX2Pixels.

RemovePageFormat (String sCustomFmtName)
Deletes a previously created page format in the Universal Document Converter format list.
ParameterTypeDescription
sCustomFmtNameStringName of page format to be deleted.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPageFormat As IPageFormat Set objUDC = New UDC.APIWrapper ' Choose activation mode objUDC.ActivationMode = AM_SILENT ' Perform activation using selected mode Call objUDC.Activate ' Set "Universal Document Converter" printer as default in system objUDC.DefaultPrinter = "Universal Document Converter" ' Add custom page format Call objUDC.AddPageFormat("My Format", 10.25, 25.1, UNIT_IN) Set itfPageFormat = objUDC.PageFormats("My Format") ' Delete custom page format Call objUDC.RemovePageFormat("My Format")


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