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

Syntax 4: for importing DataWindowChild to PDFDocument – PB Docs 2022 – PowerBuilder Library

Syntax 4: for importing DataWindowChild to PDFDocument – PB Docs 2022

Syntax 4: for importing DataWindowChild to PDFDocument

Description

Imports data from a DataWindowChild object to a PDF document. All
pages are inserted before the specified position of the new PDF
document, and if the index of the specified position is out of range,
the pages are added to the end. The PDF output is the same as you save
data from a DataWindow object to a PDF document using PDFlib or
GhostScript (depending on which one is set as the default
method).

Applies to

PDFDocument object in Objects and Controls

Syntax

Argument

Description

objectname

The name of the PDFDocument object in which you want to
import data from a DataWindowChild object to a PDF
document

dwc

The DataWindowChild object whose data is imported to a
PDF document

targetIndex

The target index of a PDF document before which you want
to import all pages from a DataWindowChild object

Return value

Long.

Returns 1 if the function succeeds and a negative value if an
error occurs. For more errors, see the Error Codes.

Examples

This statement imports all pages from the DataWindowChild object
ldwc_child before the first page of a PDF document and saves the
document as datawindowchild.pdf:

See also

ImportPDF

Save


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