Class TextFormat
Format for text
Inherited Members
Namespace: DRIT.Presentation.Office
Assembly: DRIT.Presentation.dll
Syntax
public class TextFormat : Format
Constructors
TextFormat(string)
Initializes a new instance of the text format class.
Declaration
public TextFormat(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code | The code to convert or assign. |
Properties
Category
Gets or sets the category associated with this object.
Declaration
public override FormatCategory Category { get; }
Property Value
| Type | Description |
|---|---|
| FormatCategory |
Overrides
Methods
CanFormat(object)
Handles can format for this text format.
Declaration
public override bool CanFormat(object o)
Parameters
| Type | Name | Description |
|---|---|---|
| object | o | The object to compare with this value. |
Returns
| Type | Description |
|---|---|
| bool | true if the operation succeeds; otherwise, false. |