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
Properties
Bold
Declaration
public bool Bold { get; set; }
Property Value
FontFamilyName
Declaration
public string FontFamilyName { get; set; }
Property Value
Italic
Declaration
public bool Italic { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
Size
Declaration
public float Size { get; set; }
Property Value
SizeInPoints
Declaration
public float SizeInPoints { get; set; }
Property Value
Strikeout
Declaration
public bool Strikeout { get; set; }
Property Value
Underline
Declaration
public bool Underline { get; }
Property Value
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
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Implements
System.IDisposable