콘텐츠로 이동

IGraphicsFactory.CreateFont method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Creates a font resource at the system DPI; size is in DIPs.

public IFont CreateFont(string family, double size, FontWeight weight = FontWeight.Normal,
bool italic = false, bool underline = false, bool strikethrough = false)

IGraphicsFactory.CreateFont method (2 of 2)

Section titled “IGraphicsFactory.CreateFont method (2 of 2)”

Creates a font resource for a specific DPI; size is in DIPs (1/96 inch).

public IFont CreateFont(string family, double size, uint dpi,
FontWeight weight = FontWeight.Normal, bool italic = false, bool underline = false,
bool strikethrough = false)