Class DrawingTextElement
Abstract base for all elements that can appear inside a DrawingTextParagraph: text runs, text fields, and line breaks.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public abstract class DrawingTextElement
Properties
Baseline
Gets or sets the baseline shift (in hundredths of a percent).
Declaration
public virtual int? Baseline { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Effects
Gets the text effects for this element.
Declaration
public virtual TextRunEffects Effects { get; }
Property Value
| Type | Description |
|---|---|
| TextRunEffects |
ElementType
Identifies the concrete kind of this element.
Declaration
public abstract DrawingTextElementType ElementType { get; }
Property Value
| Type | Description |
|---|---|
| DrawingTextElementType |
Fill
Gets the fill for this element's text.
Declaration
public virtual Fill Fill { get; }
Property Value
| Type | Description |
|---|---|
| Fill |
Font
Gets or sets the character font for this element.
Declaration
public virtual DrawingFont Font { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingFont |
HighlightColor
Gets or sets the highlight color for this element.
Declaration
public virtual DrawingColor HighlightColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Text
Gets or sets the text content of this element.
Returns null for elements that carry no text (e.g. line breaks).
Declaration
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TextOutline
Gets the outline for this element's text.
Declaration
public virtual Line TextOutline { get; }
Property Value
| Type | Description |
|---|---|
| Line |