Font.ToLogFont Metodo
Definizione
Overload
ToLogFont(Object) |
Crea una struttura ( |
ToLogFont(Object, Graphics) |
Crea una struttura ( |
ToLogFont(Object)
Crea una struttura (LOGFONT
) del tipo di carattere logico GDI da questo oggetto Font.Creates a GDI logical font (LOGFONT
) structure from this Font.
public:
void ToLogFont(System::Object ^ logFont);
public void ToLogFont (object logFont);
member this.ToLogFont : obj -> unit
Public Sub ToLogFont (logFont As Object)
Parametri
- logFont
- Object
Oggetto Object che rappresenta la struttura LOGFONT
creata da questo metodo.An Object to represent the LOGFONT
structure that this method creates.
Commenti
Questo metodo imposta il logFont
parametro sui risultati della conversione del tipo di carattere.This method sets the logFont
parameter to the results of the font conversion. Per ulteriori informazioni sui tipi di carattere logici, vedere LOGFONT Structure.For more information about logical fonts, see LOGFONT structure.
Sicurezza
SecurityPermission
per l'accesso al codice non gestito.for access to unmanaged code. Enumerazione correlata:UnmanagedCodeRelated enumeration: UnmanagedCode
ToLogFont(Object, Graphics)
Crea una struttura (LOGFONT
) del tipo di carattere logico GDI da questo oggetto Font.Creates a GDI logical font (LOGFONT
) structure from this Font.
public:
void ToLogFont(System::Object ^ logFont, System::Drawing::Graphics ^ graphics);
public void ToLogFont (object logFont, System.Drawing.Graphics graphics);
member this.ToLogFont : obj * System.Drawing.Graphics -> unit
Parametri
- logFont
- Object
Oggetto Object che rappresenta la struttura LOGFONT
creata da questo metodo.An Object to represent the LOGFONT
structure that this method creates.
- graphics
- Graphics
Oggetto Graphics che fornisce altre informazioni per la struttura LOGFONT
.A Graphics that provides additional information for the LOGFONT
structure.
Eccezioni
graphics
è null
.graphics
is null
.
Commenti
Questo metodo imposta il logFont
parametro sui risultati della conversione del tipo di carattere.This method sets the logFont
parameter to the results of the font conversion. Per ulteriori informazioni sui tipi di carattere logici, vedere LOGFONT Structure.For more information about logical fonts, see LOGFONT structure.
Sicurezza
SecurityPermission
per l'accesso al codice non gestito.for access to unmanaged code. Enumerazione correlata:UnmanagedCodeRelated enumeration: UnmanagedCode