Universal Document Converter
Información general
Descargas
Comprar
Tutoriales
Desarrolladores
Soporte técnico
Acerca de fCoder SIA


      Búsqueda en el sitio
   


      Conversiones populares
Adobe PDF a JPEG
Word Document a PDF
Hojas de cálculo Excel a PDF
PowerPoint a JPEG
Diseño Visio a PDF
Diseño AutoCAD a TIFF
Página web a JPEG
Convertir de cálculo Excel a PDF
Convertir DjVu a PDF
Convertir una página web a PDF

      Tutorial de vídeo
Ver el tutorial



Página principal>Developer Solutions>Interfaces>IUDC>IUDCPrinter>IProfile>IAdjustments>IResize

IResize


The IResize interface is used to configure page resizing in a document during conversion.

Properties

Integer BackgroundColor

Determines the fill color (as an RGB value) of empty spaces which result when a page is resized up. Only available if the Mode property has the value RSZ_THUMBNAIL. It is both readable and writable.

Integer Height
Sets the new resized page height (in pixels). Only available if the Mode property is set to RSZ_FITHEIGHT, RSZ_FITRECT, RSZ_THUMBNAIL. It is both readable and writable.

Enum Mode
Defines source document page resize mode during the conversion process. It is both readable and writable.
ConstantValueDescription
RSZ_NONE0No resizing
RSZ_FITWIDTH1Pages are resized proportionally based on the width value contained in the Width property
RSZ_FITHEIGHT2Pages are resized proportionally based on the height value contained in the Height property
RSZ_FITRECT3Pages are resized with the width and the height contained in the Width and Height properties
RSZ_THUMBNAIL4Pages are resized to the width and height contained in the Width and Height properties while any margins produced in the resizing are filled with the color specified in the BackgroundColor property

Integer Width
Sets the new resized page width (in pixels). Only available if the Mode property has the values RSZ_FITWIDTH, RSZ_FITRECT, RSZ_THUMBNAIL. 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.Adjustments.Resize.Mode = RSZ_THUMBNAIL itfProfile.Adjustments.Resize.Width = 640 itfProfile.Adjustments.Resize.Height = 480 itfProfile.Adjustments.Resize.BackgroundColor = RGB(255, 255, 0)


© fCoder SIA Acerca de fCoder SIA | Mapa del sitio