Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Export.PDF.NativePDF.ImageFormat – PB Docs 2022 – PowerBuilder Library

Export.PDF.NativePDF.ImageFormat – PB Docs 2022

Export.PDF.NativePDF.ImageFormat

property (DataWindow object)

Description

Setting that enables you to select a format for the embedded
images in the PDF file when you use the PDFlib method to save data from
a DataWindow object to a PDF file.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe argument:

Parameter

Description

value

(exp) An integer indicating the file format of the
embedded images in the DataWindow object.

Values
are:

  • 0 – (Default) BMP

  • 1 – JPG

  • 2 – PNG

The image format affects the speed of
creating the PDF file and the size of the PDF
file.

In the order from the fastest to the lowest:
JPG, BMP, PNG

In the order from the smallest to the
biggest: JPG, BMP, PNG

To support transparent
background of the image, you should set the image format to PNG
before exporting the image.

Examples

This example saves the embedded image as JPG format, and saves the
data to a file called custom.pdf:

This example uses Modify to set the PDF print properties:

See also

Export.PDF.Method

Export.PDF.NativePDF.Author

Export.PDF.NativePDF.CustomOrientation

Export.PDF.NativePDF.CustomSize

Export.PDF.NativePDF.Keywords

Export.PDF.NativePDF.MasterPassword

Export.PDF.NativePDF.PDFStandard

Export.PDF.NativePDF.Restrictions

Export.PDF.NativePDF.Subject

Export.PDF.NativePDF.UserPassword

Export.PDF.NativePDF.UsePrintSpec

Print.property


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x