PMS32 Online- Hilfereferenz
FontFamily - Behandlung von Fonts unter Windows.
Behandlung von Fonts unter Windows.
*/ 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...
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.
Integer = My.GDI.Drawing.FontFamily.GetCellAscent(tiStyle AS EnumFontStyle) Integer = My.GDI.Drawing.FontFamily.GetCellAscent(tiStyle)
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.
Integer = My.GDI.Drawing.FontFamily.GetCellDescent(tiStyle AS EnumFontStyle) Integer = My.GDI.Drawing.FontFamily.GetCellDescent(tiStyle)
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.
Integer = My.GDI.Drawing.FontFamily.GetEmHeight(tiStyle AS EnumFontStyle) Integer = My.GDI.Drawing.FontFamily.GetEmHeight(tiStyle)
Rückgabe:[Variant], Returns an array that contains all the FontFamily objects available for the specified graphics context.
Variant = My.GDI.Drawing.FontFamily.GetFamilies(toGraphics AS xfcGraphics) Variant = My.GDI.Drawing.FontFamily.GetFamilies(toGraphics)
Rückgabe:[Integer], Info see Code...
Integer = My.GDI.Drawing.FontFamily.GetLineSpacing(tiStyle AS EnumFontStyle) Integer = My.GDI.Drawing.FontFamily.GetLineSpacing(tiStyle)
Rückgabe:[String], Returns the name, in the specified language, of this FontFamily object.
String = My.GDI.Drawing.FontFamily.GetName(tiLanguage) String = My.GDI.Drawing.FontFamily.GetName(tiLanguage)
Rückgabe:[Boolean], Indicates whether the specified FontStyle enumeration is available.
Boolean = My.GDI.Drawing.FontFamily.IsStyleAvailable(tiStyle AS EnumFontStyle) Boolean = My.GDI.Drawing.FontFamily.IsStyleAvailable(tiStyle)
Gibt die Daten der GDI Klasse als lesbaren String zurück
String = My.GDI.Drawing.FontFamily.ToString()
LOCAL lcString AS String */ Rückgabe eines lesbaren Strings lcString = My.GDI.Drawing.FontFamily.ToString() =MESSAGEBOX(m.lcString,64,"Info...")
Returns an array that contains all the FontFamily objects associated with the current graphics context.
Number = My.GDI.Drawing.FontFamily.Families
Gets a generic monospace FontFamily object.
General = My.GDI.Drawing.FontFamily.GenericMonospace
Gets a generic sans serif FontFamily object.
General = My.GDI.Drawing.FontFamily.GenericSansSerif
Gets a generic serif FontFamily object.
General = My.GDI.Drawing.FontFamily.GenericSerif
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]
String = My.GDI.Drawing.FontFamily.cMethod
*/ Abruf... WAIT WINDOW My.GDI.Drawing.FontFamily.cMethod
Boolean = My.GDI.Drawing.FontFamily.lastresult
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.
Number = My.GDI.Drawing.FontFamily.nError
WAIT WINDOW My.GDI.Drawing.FontFamily.nError
Zeilennummer, in der der letzte Fehler auftrat
Number = My.GDI.Drawing.FontFamily.nLine
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