[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.TextShape

TextShape Class

Represents a text string shape object.

Inheritance
TextShape
Namespace: FarPoint.Win.Spread.DrawingSpace
Assembly: FarPoint.Win.Spread.dll
Syntax
public class TextShape : PSShape, ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable
Public Class TextShape
    Inherits PSShape
    Implements ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable

Constructors

Name Description
TextShape()

Creates a new text string shape.

TextShape(TextShape)

Creates a new shape that is a copy of the specified shape.

TextShape(SerializationInfo, StreamingContext)

Creates a new text string shape object from serialization.

Properties

Name Description
Font

Gets or sets the font.

Text

Gets or sets the text for the text string shape.

Methods

Name Description
Clone()

Creates a copy of this shape.

Deserialize(XmlNodeReader)

Loads the object from XML.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the shape object.

OnFontChanged(EventArgs)

Returns event information when the font for the element has changed.

ResetText()

Resets the text to the default value, which is "abc".

SetInitialShape()

Creates the initial text shape.

SetShapeFromText(string)

Sets the shape of the text shape.