f76e04fd 28ef 14a3 ac73 a21720926960 - iAJTin/iExportEngine GitHub Wiki
Additional header content
Represents a font. Defines a particular format for text, including font face, size, and style attributes.
System.Object
iTin.Export.Model.BaseModel(FontModel)
iTin.Export.Model.FontModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
public class FontModel : BaseModel<FontModel>,
ICloneableVB
<SerializableAttribute>
Public Class FontModel
Inherits BaseModel(Of FontModel)
Implements ICloneableThe FontModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
FontModel | Initializes a new instance of the FontModel class. |
| Name | Description | |
|---|---|---|
![]()
|
Bold | Gets or sets a value indicating whether bold style is applied for this font. |
![]()
|
Color | Gets or sets preferred font color. |
![]()
|
Default | Gets default font. |
![]() |
FontStyles | Gets a value that represents the different styles defined for this font. |
![]() |
IsDefault | Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.) |
![]()
|
Italic | Gets or sets a value indicating whether italic style is applied for this font. |
![]()
|
Name | Gets or sets preferred font name. |
![]() |
Properties | Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).) |
![]()
|
Size | Gets or sets preferred font size. |
![]()
|
Underline | Gets or sets a value indicating whether the underline style is applied for this font. |
| Name | Description | |
|---|---|---|
![]() |
Clone | Clones this instance. |
![]() |
Combine | Combines this instance with reference parameter. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetColor | Gets a reference to the Color structure preferred for this font. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetStaticBindingValue | Gets the static binding value by reflection. (Inherited from BaseModel(T).) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SaveToFile(String) | Saves to file. (Inherited from BaseModel(T).) |
![]() |
SaveToFile(String, Exception) | Serializes current BaseModel object into file (Inherited from BaseModel(T).) |
![]() |
Serialize | Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).) |
![]() |
ToFont | Gets a reference to native .NET font representing the font model |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseModel(T).) |
IEE Object Element Usage
<Font...>
<Properties/>
</Font>Attributes
| Attribute | Optional | Description | Default |
|---|---|---|---|
| Name | Yes | Preferred font name. | The default is Segoe UI
|
| Size | Yes | Preferred font size. | The default is 10.0
|
| Color | Yes | Preferred font color. | The default is Black
|
| Bold | Yes | Determines whether bold style is applied for this font. | The default is No
|
| Italic | Yes | Determines whether italic style is applied for this font. | The default is No
|
| Underline | Yes | Determines whether the underline style is applied for this font. | The default is No
|
| Element | Description |
|---|---|
| Properties | Reference to custom properties dictionary |
| Comma-Separated Values CsvWriter |
Tab-Separated Values TsvWriter |
SQL Script SqlScriptWriter |
XML Spreadsheet 2003 Spreadsheet2003TabularWriter |
|---|---|---|---|
| X | X | X | X |
<b>X</b> value indicates that the writer supports this element.


