Font.FromLogFont Método
Definição
Sobrecargas
| FromLogFont(Object, IntPtr) |
Cria um Font com base na estrutura de fonte lógica GDI especificada ( |
| FromLogFont(Object) |
Cria um Font com base na estrutura de fonte lógica GDI especificada ( |
FromLogFont(Object, IntPtr)
public:
static System::Drawing::Font ^ FromLogFont(System::Object ^ lf, IntPtr hdc);
public static System.Drawing.Font FromLogFont (object lf, IntPtr hdc);
static member FromLogFont : obj * nativeint -> System.Drawing.Font
Public Shared Function FromLogFont (lf As Object, hdc As IntPtr) As Font
Parâmetros
- lf
- Object
Um Object que representa a LOGFONT estrutura GDI da qual criar o Font .An Object that represents the GDI LOGFONT structure from which to create the Font.
- hdc
- IntPtr
Um identificador para um contexto de dispositivo que contém informações adicionais sobre a estrutura lf.A handle to a device context that contains additional information about the lf structure.
Retornos
O Font criado por esse método.The Font that this method creates.
Exceções
A fonte não é uma fonte TrueType.The font is not a TrueType font.
Comentários
Uma LOGFONT fonte GDI ou lógica é uma estrutura que contém 14 propriedades que descrevem uma determinada fonte.A GDI LOGFONT, or logical font, is a structure that contains 14 properties that describe a particular font.
Aplica-se a
FromLogFont(Object)
public:
static System::Drawing::Font ^ FromLogFont(System::Object ^ lf);
public static System.Drawing.Font FromLogFont (object lf);
static member FromLogFont : obj -> System.Drawing.Font
Public Shared Function FromLogFont (lf As Object) As Font
Parâmetros
- lf
- Object
Um Object que representa a LOGFONT estrutura GDI da qual criar o Font .An Object that represents the GDI LOGFONT structure from which to create the Font.
Retornos
O Font criado por esse método.The Font that this method creates.
Comentários
Uma LOGFONT fonte GDI ou lógica é uma estrutura que contém 14 propriedades que descrevem uma determinada fonte.A GDI LOGFONT, or logical font, is a structure that contains 14 properties that describe a particular font.