Class Font
Inheritance
System.Object
Font
Implements
System.IDisposable
Assembly: Syncfusion.Compression.Portable.dll
Syntax
public sealed class Font : Object, IDisposable, IClone
Constructors
Font()
Declaration
Font(String, Single)
Declaration
public Font(string fontFamilyName, float fontSize)
Parameters
Type |
Name |
Description |
System.String |
fontFamilyName |
|
System.Single |
fontSize |
|
Font(String, Single, FontStyle, GraphicsUnit, Byte)
Declaration
public Font(string FontName, float size, FontStyle fontstyle, GraphicsUnit unit, byte charSet)
Parameters
Type |
Name |
Description |
System.String |
FontName |
|
System.Single |
size |
|
FontStyle |
fontstyle |
|
GraphicsUnit |
unit |
|
System.Byte |
charSet |
|
Fields
m_charSet
Declaration
Field Value
Type |
Description |
System.Byte |
|
Properties
Bold
Declaration
public bool Bold { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FontFamilyName
Declaration
public string FontFamilyName { get; set; }
Property Value
Type |
Description |
System.String |
|
Italic
Declaration
public bool Italic { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Size
Declaration
public float Size { get; set; }
Property Value
Type |
Description |
System.Single |
|
SizeInPoints
Declaration
public float SizeInPoints { get; set; }
Property Value
Type |
Description |
System.Single |
|
Strikeout
Declaration
public bool Strikeout { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Underline
Declaration
public bool Underline { get; }
Property Value
Type |
Description |
System.Boolean |
|
UnderlineStyle
Declaration
public UnderlineStyle UnderlineStyle { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
Returns
Type |
Description |
System.Object |
A new object that is a copy of this instance.
|
Dispose()
Declaration
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IDisposable