Version

Clone Method (FormattedText)

Creates a new FormattedText that is a copy of this one.
Syntax
public FormattedText Clone()

Return Value

A new FormattedText that is a copy of this one.
Remarks

This should be used if the same formatted text needs to be used in multiple shapes. The FormattedText class can only exist as the WorksheetShapeWithText.Text of one shape at a time. If the FormattedText is already the text of a shape, and needs to be set as the text of another shape, clone the FormattedText and set the returned clone as text of the shape.

The cloned FormattedText only takes its original configuration for this instance. If this instance is cloned and than changed, the clone will not be changed as well; it will remain as it was when it was cloned.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also