FirstLineIndent
property for PowerScript objects
Applies to
Description
Gets or sets the indent of the first line in the PDF document
Data type
Real. The unit is point (pt).
Usage
In scripts
The FirstLineIndent property sets the indent of the first line of
the text or text block in a PDF document. The unit is point (pt).
The following example uses the PDFTextLayout object to set the
layout of a PDFMultilineText object:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
lpdf_mtext = create PDFmultilinetext lpdf_layout = create PDFtextlayout lpdf_layout.leftindent = 100 lpdf_layout.rightindent = 100 lpdf_layout.charspacing = 10 lpdf_layout.firstlineindent = 100 lpdf_layout.linespacing = 500 lpdf_layout.alignment= PDFTextAlignCenter! lpdf_mtext.width = lpdf_page.getwidth( ) lpdf_mtext.content="The PDFDocument object allows to import data from a DataWindow object, a DataWindowChild object or a DataStore object, or an existing PDF document to a new PDF document and save the document." lpdf_mtext.layout = lpdf_layout |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest