PMS32 Online- Hilfereferenz

MY.GDI.DRAWING.FONTFAMILY

FontFamily - 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.FontFamily
*/ 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 loFontFamily AS My.GDI.Drawing.FontFamily
*/ Setzen der Variablen
loFontFamily = My.GDI.Drawing.FontFamily
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loFontFamily.Function1(),Feldname2 WITH loFontFamily.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loFontFamily.Function(Alias.Spalte) + 25
	lvValue = loFontFamily.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von FontFamily


Liste der Methoden von FontFamily


GetCellAscent() - GDI Method or Property

Rückgabe:[Integer], Returns the cell ascent, in design units, of the FontFamily object of the specified style. for information about font metrics, see Obtaining Font Metrics.
Hilfeinformation
Rückgabe:[Integer], Returns the cell ascent, in design units, of the FontFamily object of the specified style. for information about font metrics, see Obtaining Font Metrics.

Aufrufinformation
Integer = My.GDI.Drawing.FontFamily.GetCellAscent(tiStyle AS EnumFontStyle)
Integer = My.GDI.Drawing.FontFamily.GetCellAscent(tiStyle)
Codeinformation


GetCellDescent() - GDI Method or Property

Rückgabe:[Integer], Returns the cell descent, in design units, of the FontFamily object of the specified style. For information about font metrics, see Obtaining Font Metrics.
Hilfeinformation
Rückgabe:[Integer], Returns the cell descent, in design units, of the FontFamily object of the specified style. For information about font metrics, see Obtaining Font Metrics.

Aufrufinformation
Integer = My.GDI.Drawing.FontFamily.GetCellDescent(tiStyle AS EnumFontStyle)
Integer = My.GDI.Drawing.FontFamily.GetCellDescent(tiStyle)
Codeinformation


GetEmHeight() - GDI Method or Property

Rückgabe:[Integer], Gets the height, in font design units, of the em square for the specified style. For information about font metrics, see Obtaining Font Metrics.
Hilfeinformation
Rückgabe:[Integer], Gets the height, in font design units, of the em square for the specified style. For information about font metrics, see Obtaining Font Metrics.

Aufrufinformation
Integer = My.GDI.Drawing.FontFamily.GetEmHeight(tiStyle AS EnumFontStyle)
Integer = My.GDI.Drawing.FontFamily.GetEmHeight(tiStyle)
Codeinformation


GetFamilies() - GDI Method or Property

Rückgabe:[Variant], Returns an array that contains all the FontFamily objects available for the specified graphics context.
Hilfeinformation
Rückgabe:[Variant], Returns an array that contains all the FontFamily objects available for the specified graphics context.

Aufrufinformation
Variant = My.GDI.Drawing.FontFamily.GetFamilies(toGraphics AS xfcGraphics)
Variant = My.GDI.Drawing.FontFamily.GetFamilies(toGraphics)
Codeinformation


GetLineSpacing() - GDI Method or Property

Rückgabe:[Integer], Info see Code...
Hilfeinformation
Rückgabe:[Integer], Info see Code...

Aufrufinformation
Integer = My.GDI.Drawing.FontFamily.GetLineSpacing(tiStyle AS EnumFontStyle)
Integer = My.GDI.Drawing.FontFamily.GetLineSpacing(tiStyle)
Codeinformation


GetName() - GDI Method or Property

Rückgabe:[String], Returns the name, in the specified language, of this FontFamily object.
Hilfeinformation
Rückgabe:[String], Returns the name, in the specified language, of this FontFamily object.

Aufrufinformation
String = My.GDI.Drawing.FontFamily.GetName(tiLanguage)
String = My.GDI.Drawing.FontFamily.GetName(tiLanguage)
Codeinformation


IsStyleAvailable() - GDI Method or Property

Rückgabe:[Boolean], Indicates whether the specified FontStyle enumeration is available.
Hilfeinformation
Rückgabe:[Boolean], Indicates whether the specified FontStyle enumeration is available.

Aufrufinformation
Boolean = My.GDI.Drawing.FontFamily.IsStyleAvailable(tiStyle AS EnumFontStyle)
Boolean = My.GDI.Drawing.FontFamily.IsStyleAvailable(tiStyle)
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.FontFamily.ToString()
Codeinformation
LOCAL lcString AS String
*/ Rückgabe eines lesbaren Strings
lcString = My.GDI.Drawing.FontFamily.ToString()
=MESSAGEBOX(m.lcString,64,"Info...")


Liste der Properties von FontFamily


Families - GDI Method or Property

Returns an array that contains all the FontFamily objects associated with the current graphics context.
Hilfeinformation
Returns an array that contains all the FontFamily objects associated with the current graphics context.

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


GenericMonospace - GDI Method or Property

Gets a generic monospace FontFamily object.
Hilfeinformation
Gets a generic monospace FontFamily object.

Aufrufinformation
General = My.GDI.Drawing.FontFamily.GenericMonospace
Codeinformation


GenericSansSerif - GDI Method or Property

Gets a generic sans serif FontFamily object.
Hilfeinformation
Gets a generic sans serif FontFamily object.

Aufrufinformation
General = My.GDI.Drawing.FontFamily.GenericSansSerif
Codeinformation


GenericSerif - GDI Method or Property

Gets a generic serif FontFamily object.
Hilfeinformation
Gets a generic serif FontFamily object.

Aufrufinformation
General = My.GDI.Drawing.FontFamily.GenericSerif
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.FontFamily.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.GDI.Drawing.FontFamily.cMethod

lastresult -

Letztes Ergebnis
Hilfeinformation

Aufrufinformation
Boolean = My.GDI.Drawing.FontFamily.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.FontFamily.nError
Codeinformation
WAIT WINDOW My.GDI.Drawing.FontFamily.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.FontFamily.nLine
Codeinformation
WAIT WINDOW My.GDI.Drawing.FontFamily.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