New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

GdiFont

Class

Definition

Constructors

C#
public GdiFont(nint hFont, string faceName, int height)
Parameters:hFontnintfaceNamestringheightint

Properties

C#
public string FaceName { get; }
C#
public nint Handle { get; }
C#
public int Height { get; }

Methods

C#
protected ~GdiFont()
C#
public static GdiFont CreateDesignFont(string faceName, bool bold, bool italic, GdiDeviceContent dc)
Parameters:faceNamestringboldboolitalicbooldcGdiDeviceContentReturns:

GdiFont

C#
public static GdiFont CreateFont(string faceName, int height, bool bold, bool italic)
Parameters:faceNamestringheightintboldboolitalicboolReturns:

GdiFont

C#
public virtual void Dispose()
C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
public GdiFontMetrics GetMetrics(GdiDeviceContent dc)
Parameters:dcGdiDeviceContentReturns:

GdiFontMetrics