FormattedText Class
Class which represents formatted text. Contains information about text and its color, size, style.
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.FacadesFormattedText

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.10
Syntax
public sealed class FormattedText

The FormattedText type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyTextHeight
Gets height of text.
Public propertyTextWidth
Gets width of text.
Methods
  NameDescription
Public methodAddNewLineText(String)
Adds a new line to the FormattedText object and sets the newLineText to the next line's text.
Public methodAddNewLineText(String, Single)
Adds a new line to the FormattedText object and sets the newLineText to the next line's text.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also