TextProperties Class
Contains text formatting properties.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.2.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Related API Members
The following members return TextProperties objects:
Remarks
The following code snippet creates a paragraph with bold, all-caps text, a yellow highlight color, and a heavy underline:
using DevExpress.Docs.Presentation;
using System.Drawing;
//...
textArea.Paragraphs.Add(new TextParagraph("5 successful builds") {
Properties = new ParagraphProperties {
TextProperties = new TextProperties {
Bold = true, Caps = TextCapType.All,
HighlightColor = new DevExpress.Docs.OfficeColor(Color.Yellow),
UnderlineType = TextUnderlineType.Heavy
}
}
});
Implements
Inheritance
Object
PresentationObject
TextProperties
See Also