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.CustomSize – PB Docs 2022 – PowerBuilder Library

Export.PDF.NativePDF.CustomSize – PB Docs 2022

Export.PDF.NativePDF.CustomSize

property (DataWindow object)

Description

Setting that enables you to specify the paper size 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 paper
size.

Values are:

  • 0 – Default paper size which is A4 by
    default.

  • 1 – A1 594 x 841 mm

  • 2 – A2 420 x 594 mm

  • 3 – A3 297 x 420 mm

  • 4 – A4 210 x 297 mm

  • 5 – Letter 8 1/2 x 11 in

  • 6 – Legal 8 1/2 x 14 in

Usage

In the painter

Select a size from the Paper Size
list in the Data Export tab in the Properties view for the DataWindow
object.

Examples

This example exports PDF with A4 paper size, and saves the data to
a file called custom.pdf:

This example uses Modify to set the PDF export properties:

See also

Export.PDF.Method

Export.PDF.NativePDF.Author

Export.PDF.NativePDF.CustomOrientation

Export.PDF.NativePDF.ImageFormat

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