This object represents a custom font (standard or embedded font).
![](../icons/collapse_all.gif)
C# | Visual Basic |
public class CustomFont
Public Class CustomFont
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | CustomFont()()()() |
Default constructor for CustomFont.
|
![]() | CustomFont(String, Single, Color) |
Constructor for the CustomFont class. Requires the embedded font name and font size.
Will automatically set UseEmbeddedFont to true.
|
![]() | Color |
Defines the font color.
|
![]() | ColorInt |
Gets/sets the font color using a 32-bit integer (ARGB).
This is used for serializing the Color structure in XML.
|
![]() | EmbeddedFontName |
Defines the embedded font name.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsBold |
Defines if the font uses bold.
|
![]() | IsItalic |
Defines if the font uses italic.
|
![]() | IsUnderline |
Defines if the font uses underline.
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Size |
Defines the font size (in points).
|
![]() | StandardFontName |
Defines the standard font face name.
|
![]() | ToFontStyle()()()() |
Returns a FontStyle structure with the IsBold, IsItalic and IsUnderline property values.
|
![]() | ToString()()()() | (Inherited from Object.) |
![]() | UseAntiAliasing |
Defines if the font should use anti-aliasing.
|
![]() | UseEmbeddedFont |
Defines if the font should use the embedded font.
|
![](../icons/collapse_all.gif)
Object | |
![]() | CustomFont |