Clone
PowerScript function
Description
Clones the current PDF Builder object.
Applies to
PDFDocument object in Objects and Controls
PDFImage object in Objects and Controls
PDFImportContent object in Objects and Controls
PDFMultilineText object in Objects and Controls
PDFRichText object in Objects and Controls
PDFText object in Objects and Controls
PDFPage object in Objects and Controls
PDFFont object in Objects and Controls
PDFColor object in Objects and Controls
PDFTextBlock object in Objects and Controls
PDFTextLayout object in Objects and Controls
Syntax
|
1 |
objectname.Clone() |
Return value
Returns an object that is identical with the one being cloned,
except for the object name.
Usage
Call the function to clone an object and assign the new object with
a new name.
Examples
This example clones the lpdf_chapter object and assign it to
lpdf_chapteritem.
|
1 2 3 4 |
PDFtext lpdf_title,lpdf_chapter,lpdf_chapteritem ... lpdf_chapteritem = lpdf_chapter.clone( ) |
See also
PDFDocument objects:
PDFPage objects:
PDFText, PDFImage, PDFTextBlock objects:
PDFMultilineText objects:
PDFRichText objects: