PMS32 Online- Hilfereferenz

MY.GDI.DRAWING.FONT

Font - Behandlung von Fonts unter Windows.


Hilfe: GDI Method or Property
Behandlung von Fonts unter Windows.


Code: GDI Method or Property
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.GDI.Drawing.Font
*/ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt
*/ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden!
*/ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert!
*/ Beispiel:
*/ Definieren einer LOKALEN Variablen
LOCAL loFont AS My.GDI.Drawing.Font
*/ Setzen der Variablen
loFont = My.GDI.Drawing.Font
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loFont.Function1(),Feldname2 WITH loFont.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loFont.Function(Alias.Spalte) + 25
	lvValue = loFont.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von Font


Liste der Methoden von Font


Clone() - Duplikat erzeugen

Erzeugt ein Duplikat von sich selbst.
Hilfeinformation
Erzeugt ein Duplikat von sich selbst.

Aufrufinformation
Object = My.GDI.Drawing.Font.Clone()
Codeinformation
LOCAL loCone AS My.GDI.Drawing.Font
*/ Erzeugt einen Klon von sich selbst...
loCone = My.GDI.Drawing.Font.Clone()

FromHdc() - GDI Method or Property

Rückgabe:[Object], Creates a Font object from the specified Windows handle to a device context.
Hilfeinformation
Rückgabe:[Object], Creates a Font object from the specified Windows handle to a device context.

Aufrufinformation
Object = My.GDI.Drawing.Font.FromHdc(tHDc AS IntPtr)
Object = My.GDI.Drawing.Font.FromHdc(tHDc)
Codeinformation


FromHfont() - GDI Method or Property

Rückgabe:[Object], Creates a Font object from the specified Windows handle.
Hilfeinformation
Rückgabe:[Object], Creates a Font object from the specified Windows handle.

Aufrufinformation
Object = My.GDI.Drawing.Font.FromHfont(tHFont AS IntPtr)
Object = My.GDI.Drawing.Font.FromHfont(tHFont)
Codeinformation


FromLogFont() - GDI Method or Property

Rückgabe:[Object], Creates a Font object from the specified GDI LOGFONT structure.
Hilfeinformation
Rückgabe:[Object], Creates a Font object from the specified GDI LOGFONT structure.

Aufrufinformation
Object = My.GDI.Drawing.Font.FromLogFont(tqLogfont AS VARBINARY, tHDc AS IntPtr)
Object = My.GDI.Drawing.Font.FromLogFont(tqLogfont,tHDc)
Codeinformation


GetHeight() - GDI Method or Property

Rückgabe:[Number], Returns the line spacing of this font.
Hilfeinformation
Rückgabe:[Number], Returns the line spacing of this font.

Aufrufinformation
Number = My.GDI.Drawing.Font.GetHeight(tnDpi)
Number = My.GDI.Drawing.Font.GetHeight(tnDpi)
Codeinformation


ToHfont() - GDI Method or Property

Rückgabe:[Integer], Returns a handle to this Font object.
Hilfeinformation
Rückgabe:[Integer], Returns a handle to this Font object.

Aufrufinformation
Integer = My.GDI.Drawing.Font.ToHfont()
Codeinformation


ToLogFont() - GDI Method or Property

Rückgabe:[Object], Creates a GDI LOGFONT structure from this Font object.
Hilfeinformation
Rückgabe:[Object], Creates a GDI LOGFONT structure from this Font object.

Aufrufinformation
Object = My.GDI.Drawing.Font.ToLogFont(tqLogFont AS VARBINARY, toGraphics AS xfcGraphics)
Object = My.GDI.Drawing.Font.ToLogFont(tqLogFont,toGraphics)
Codeinformation


ToString() - In String umwandeln

Gibt die Daten der GDI Klasse als lesbaren String zurück
Hilfeinformation
Gibt die Daten der GDI Klasse als lesbaren String zurück

Aufrufinformation
String = My.GDI.Drawing.Font.ToString()
Codeinformation
LOCAL lcString AS String
*/ Rückgabe eines lesbaren Strings
lcString = My.GDI.Drawing.Font.ToString()
=MESSAGEBOX(m.lcString,64,"Info...")


Liste der Properties von Font


Bold - GDI Method or Property

Gets a value that indicates whether this Font object is bold.
Hilfeinformation
Gets a value that indicates whether this Font object is bold.

Aufrufinformation
Number = My.GDI.Drawing.Font.Bold
Codeinformation


FontFamily - GDI Method or Property

Gets the FontFamily object associated with this Font object.
Hilfeinformation
Gets the FontFamily object associated with this Font object.

Aufrufinformation
Number = My.GDI.Drawing.Font.FontFamily
Codeinformation


GdiCharSet - GDI Method or Property

Gets a byte value that specifies the GDI character set that this Font object uses.
Hilfeinformation
Gets a byte value that specifies the GDI character set that this Font object uses.

Aufrufinformation
General = My.GDI.Drawing.Font.GdiCharSet
Codeinformation


GdiVerticalFont - GDI Method or Property

Gets a Boolean value that indicates whether this Font object is derived from a GDI vertical font.
Hilfeinformation
Gets a Boolean value that indicates whether this Font object is derived from a GDI vertical font.

Aufrufinformation
General = My.GDI.Drawing.Font.GdiVerticalFont
Codeinformation


Italic - GDI Method or Property

Gets a value that indicates whether this Font object is italic.
Hilfeinformation
Gets a value that indicates whether this Font object is italic.

Aufrufinformation
Number = My.GDI.Drawing.Font.Italic
Codeinformation


Size - GDI Method or Property

Gets the em-size of this Font object measured in the unit of this Font object.
Hilfeinformation
Gets the em-size of this Font object measured in the unit of this Font object.

Aufrufinformation
S = My.GDI.Drawing.Font.Size
Codeinformation


SizeInPoints - GDI Method or Property

Gets the em-size, in points, of this Font object.
Hilfeinformation
Gets the em-size, in points, of this Font object.

Aufrufinformation
S = My.GDI.Drawing.Font.SizeInPoints
Codeinformation


Strikeout - GDI Method or Property

Gets a value that indicates whether this Font object specifies a horizontal line through the font.
Hilfeinformation
Gets a value that indicates whether this Font object specifies a horizontal line through the font.

Aufrufinformation
S = My.GDI.Drawing.Font.Strikeout
Codeinformation


Style - GDI Method or Property

Gets style information for this Font object.
Hilfeinformation
Gets style information for this Font object.

Aufrufinformation
S = My.GDI.Drawing.Font.Style
Codeinformation


Underline - GDI Method or Property

Gets a value that indicates whether this Font object is underlined.
Hilfeinformation
Gets a value that indicates whether this Font object is underlined.

Aufrufinformation
U = My.GDI.Drawing.Font.Underline
Codeinformation


Unit - GDI Method or Property

Gets the unit of measure for this Font object.
Hilfeinformation
Gets the unit of measure for this Font object.

Aufrufinformation
U = My.GDI.Drawing.Font.Unit
Codeinformation


cMethod - Methode des Fehlers

Methode in der der letzte Fehler auftrat.
Hilfeinformation
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]

Aufrufinformation
String = My.GDI.Drawing.Font.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.GDI.Drawing.Font.cMethod

lastresult -

Letztes Ergebnis
Hilfeinformation

Aufrufinformation
Boolean = My.GDI.Drawing.Font.lastresult
Codeinformation


nError - Fehlernummer d. Fehlers

Fehlernummer des letzten Fehlers.
Hilfeinformation
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.

Aufrufinformation
Number = My.GDI.Drawing.Font.nError
Codeinformation
WAIT WINDOW My.GDI.Drawing.Font.nError

nLine - Zeilennummer d. Fehlers

Zeilennummer, in der der letzte Fehler auftrat
Hilfeinformation
Zeilennummer, in der der letzte Fehler auftrat

Aufrufinformation
Number = My.GDI.Drawing.Font.nLine
Codeinformation
WAIT WINDOW My.GDI.Drawing.Font.nLine


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt