TextStyle Class
Specifies the text style.
Inheritance Hierarchy
SystemObject
  Aspose.NoteTextStyle

Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.9
Syntax
public sealed class TextStyle

The TextStyle type exposes the following members.

Constructors
  NameDescription
Public methodTextStyle
Initializes a new instance of the TextStyle class.
Properties
  NameDescription
Public propertyStatic memberDefaultMsOneNoteTitleDateStyle
Gets default style for title date in MS OneNote.
Public propertyStatic memberDefaultMsOneNoteTitleTextStyle
Gets default style for title text in MS OneNote.
Public propertyStatic memberDefaultMsOneNoteTitleTimeStyle
Gets default style for title time in MS OneNote.
Public propertyFontColor
Gets or sets the font color.
Public propertyFontName
Gets or sets the font name.
Public propertyFontSize
Gets or sets the font size.
Public propertyFontStyle
Gets the font style.
Public propertyHighlight
Gets or sets the highlight color.
Public propertyHyperlinkAddress
Gets or sets the hyperlink address. Must be set if the value of the IsHyperlink property is true.
Public propertyIsBold
Gets or sets a value indicating whether the text style is bold.
Public propertyIsHidden
Gets or sets a value indicating whether the text style is hidden.
Public propertyIsHyperlink
Gets or sets a value indicating whether the text style is hyperlink.
Public propertyIsItalic
Gets or sets a value indicating whether the text style is italic.
Public propertyIsMathFormatting
Gets or sets a value indicating whether the text style is math-formatting.
Public propertyIsStrikethrough
Gets or sets a value indicating whether the text style is strikethrough.
Public propertyIsSubscript
Gets or sets a value indicating whether the text style is subscript.
Public propertyIsSuperscript
Gets or sets a value indicating whether the text style is superscript.
Public propertyIsUnderline
Gets or sets a value indicating whether the text style is underline.
Public propertyRunIndex
Gets or sets the run index.
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(TextStyle)
Determines whether the specified object is equal to the current object.
Public methodGetHashCode
Serves as a hash function for the type.
(Overrides ObjectGetHashCode.)
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