Clone

Description

Clones the current PDF Builder object.

Applies to

PDFDocument object

PDFImage object

PDFImportContent object

PDFMultilineText object

PDFRichText object

PDFText object

PDFPage object

PDFFont object

PDFColor object

PDFTextBlock object

PDFTextLayout object

Syntax

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.

PDFtext lpdf_title,lpdf_chapter,lpdf_chapteritem

...
lpdf_chapteritem = lpdf_chapter.clone( )

See also

PDFDocument objects:

AddPage

GetPage

GetPageCount

GetTableOfContents

ImportDataWindow

ImportPDF

ImportRichTextEdit

IndexOf

InsertPage

RemovePage

Save

SearchObject

SetTableOfContents

PDFPage objects:

AddContent

GetContent

GetContentCount

GetHeight

GetWidth

ImportContent

IndexOf

RemoveContent

SetHeight

SetPageSize

SetWidth

PDFText, PDFImage, PDFTextBlock objects:

GetLinkAddress

LinkToObject

SetLinkAddress

PDFMultilineText objects:

GetLinkAddress

GetOverflowPageText

IsOverflowPage

LinkToObject

SetLinkAddress

PDFRichText objects:

AddTextBlock

GetOverflowPageText

GetTextBlock

GetTextBlockCount

GetWrapImage

GetWrapImageCount

IsOverflowPage

RemoveTextBlock

RemoveWrapImage

WrapImage