C# 클래스 Fonet.Pdf.Gdi.GdiFont

A thin wrapper around a handle to a font
파일 보기 프로젝트 열기: Mimeo/Fo.Net 1 사용 예제들

공개 메소드들

메소드 설명
CreateDesignFont ( string faceName, bool bold, bool italic, GdiDeviceContent dc ) : GdiFont

Creates a font whose height is equal to the negative value of the EM Square

CreateFont ( string faceName, int height, bool bold, bool italic ) : GdiFont

Creates a font based on the supplied typeface name and size.

Dispose ( ) : void
GdiFont ( IntPtr hFont, string faceName, int height ) : System

Class constructor

GetMetrics ( GdiDeviceContent dc ) : Fonet.Pdf.Gdi.GdiFontMetrics

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

CreateDesignFont() 공개 정적인 메소드

Creates a font whose height is equal to the negative value of the EM Square
public static CreateDesignFont ( string faceName, bool bold, bool italic, GdiDeviceContent dc ) : GdiFont
faceName string The typeface name of a font.
bold bool
italic bool
dc GdiDeviceContent
리턴 GdiFont

CreateFont() 공개 정적인 메소드

Creates a font based on the supplied typeface name and size.
public static CreateFont ( string faceName, int height, bool bold, bool italic ) : GdiFont
faceName string The typeface name of a font.
height int /// The height, in logical units, of the font's character /// cell or character. ///
bold bool
italic bool
리턴 GdiFont

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GdiFont() 공개 메소드

Class constructor
public GdiFont ( IntPtr hFont, string faceName, int height ) : System
hFont System.IntPtr A handle to an existing font.
faceName string
height int
리턴 System

GetMetrics() 공개 메소드

public GetMetrics ( GdiDeviceContent dc ) : Fonet.Pdf.Gdi.GdiFontMetrics
dc GdiDeviceContent
리턴 Fonet.Pdf.Gdi.GdiFontMetrics