[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.Clone

Clone Method

Clone(bool, bool)

Creates a copy of the current TextLayout instance.

Declaration
public TextLayout Clone(bool copyInlines = false, bool copyObjectRects = false)
Public Function Clone(Optional copyInlines As Boolean = False, Optional copyObjectRects As Boolean = False) As TextLayout
Parameters
Type Name Description
bool copyInlines

Indicates whether to copy Inline objects with text data to the new instance of TextLayout.

bool copyObjectRects

Indicates whether to copy ObjectRect embedded objects to the new instance of TextLayout.

Returns
Type Description
TextLayout

The newly created instance of TextLayout.