Font.FromLogFont Metodo

Definizione

Crea un Font oggetto dalla struttura del tipo di carattere logico GDI (LOGFONT) specificato.

Overload

FromLogFont(LOGFONT, IntPtr)
FromLogFont(Object, IntPtr)

Crea un Font oggetto dalla struttura del tipo di carattere logico GDI (LOGFONT) specificato.

FromLogFont(LOGFONT)
FromLogFont(Object)

Crea un Font oggetto dalla struttura del tipo di carattere logico GDI (LOGFONT) specificato.

FromLogFont(LOGFONT, IntPtr)

Origine:
Font.cs
Origine:
Font.cs
public:
 static System::Drawing::Font ^ FromLogFont(System::Drawing::Interop::LOGFONT % logFont, IntPtr hdc);
public static System.Drawing.Font FromLogFont (in System.Drawing.Interop.LOGFONT logFont, IntPtr hdc);
static member FromLogFont : LOGFONT * nativeint -> System.Drawing.Font
Public Shared Function FromLogFont (ByRef logFont As LOGFONT, hdc As IntPtr) As Font

Parametri

logFont
LOGFONT
hdc
IntPtr

nativeint

Restituisce

Si applica a

FromLogFont(Object, IntPtr)

Origine:
Font.cs
Origine:
Font.cs
Origine:
Font.cs

Crea un Font oggetto dalla struttura del tipo di carattere logico GDI (LOGFONT) specificato.

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

Parametri

lf
Object

Oggetto Object che rappresenta la struttura GDI LOGFONT da cui creare l'oggetto Font.

hdc
IntPtr

nativeint

Handle per un contesto di dispositivo contenente altre informazioni sulla struttura lf.

Restituisce

Oggetto Font creato con questo metodo.

Eccezioni

Il tipo di carattere non è TrueType.

Commenti

Un tipo di carattere GDI LOGFONTo logico è una struttura che contiene 14 proprietà che descrivono un tipo di carattere specifico.

Si applica a

FromLogFont(LOGFONT)

Origine:
Font.cs
Origine:
Font.cs
public:
 static System::Drawing::Font ^ FromLogFont(System::Drawing::Interop::LOGFONT % logFont);
public static System.Drawing.Font FromLogFont (in System.Drawing.Interop.LOGFONT logFont);
static member FromLogFont : LOGFONT -> System.Drawing.Font
Public Shared Function FromLogFont (ByRef logFont As LOGFONT) As Font

Parametri

logFont
LOGFONT

Restituisce

Si applica a

FromLogFont(Object)

Origine:
Font.cs
Origine:
Font.cs
Origine:
Font.cs

Crea un Font oggetto dalla struttura del tipo di carattere logico GDI (LOGFONT) specificato.

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

Parametri

lf
Object

Oggetto Object che rappresenta la struttura GDI LOGFONT da cui creare l'oggetto Font.

Restituisce

Oggetto Font creato con questo metodo.

Commenti

Un tipo di carattere GDI LOGFONTo logico è una struttura che contiene 14 proprietà che descrivono un tipo di carattere specifico.

Si applica a