Class DrawingFont
Represents the drawing font used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class DrawingFont
Constructors
DrawingFont()
Initializes a new instance of the drawing font class.
Declaration
public DrawingFont()
Properties
Bold
Gets or sets the bold associated with this object.
Declaration
public virtual bool Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Caps
Gets or sets the caps associated with this object.
Declaration
public virtual TextCapsType Caps { get; set; }
Property Value
| Type | Description |
|---|---|
| TextCapsType |
Color
Gets or sets the color associated with this object.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
DrawingColor
Gets or sets the drawing color associated with this object.
Declaration
public virtual DrawingColor DrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Italic
Gets or sets the italic associated with this object.
Declaration
public virtual bool Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Gets or sets the name text.
Declaration
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Gets or sets the size associated with this object.
Declaration
public virtual double Size { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Strikethrough
Gets or sets the strikethrough associated with this object.
Declaration
public bool Strikethrough { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
StrikethroughType
Gets or sets the strikethrough type associated with this object.
Declaration
public TextStrikeType StrikethroughType { get; set; }
Property Value
| Type | Description |
|---|---|
| TextStrikeType |
Underline
Gets or sets the underline associated with this object.
Declaration
public virtual UnderlineType Underline { get; set; }
Property Value
| Type | Description |
|---|---|
| UnderlineType |
Methods
Equals(DrawingFont)
Determines whether this value matches the supplied value.
Declaration
protected bool Equals(DrawingFont other)
Parameters
| Type | Name | Description |
|---|---|---|
| DrawingFont | other | The other supplied to this operation. |
Returns
| Type | Description |
|---|---|
| bool | true if the operation succeeds; otherwise, false. |
Equals(object)
Determines whether this value matches the supplied value.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with this value. |
Returns
| Type | Description |
|---|---|
| bool | true if the operation succeeds; otherwise, false. |
Overrides
GetHashCode()
Returns the hash code for this value.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The get hash code value produced by the operation. |