TextProperties Class
Contains text formatting properties.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Related API Members
The following members return TextProperties objects:
Show 13 links
Remarks
The following code snippet creates a paragraph with bold, uppercase text, yellow highlighting, and a thick underline:
using DevExpress.Docs.Office;
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
}
}
});
Different presentation viewers may prioritize text styles differently and use either TextArea.ParagraphProperties or TextArea.Level1ParagraphProperties to display top-level text.
Implements
Inheritance
Object
OfficeObject
TextProperties
See Also