PMS32 Online- Hilfereferenz
Font - 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.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...
Erzeugt ein Duplikat von sich selbst.
Object = My.GDI.Drawing.Font.Clone()
LOCAL loCone AS My.GDI.Drawing.Font */ Erzeugt einen Klon von sich selbst... loCone = My.GDI.Drawing.Font.Clone()
Rückgabe:[Object], Creates a Font object from the specified Windows handle to a device context.
Object = My.GDI.Drawing.Font.FromHdc(tHDc AS IntPtr) Object = My.GDI.Drawing.Font.FromHdc(tHDc)
Rückgabe:[Object], Creates a Font object from the specified Windows handle.
Object = My.GDI.Drawing.Font.FromHfont(tHFont AS IntPtr) Object = My.GDI.Drawing.Font.FromHfont(tHFont)
Rückgabe:[Object], Creates a Font object from the specified GDI LOGFONT structure.
Object = My.GDI.Drawing.Font.FromLogFont(tqLogfont AS VARBINARY, tHDc AS IntPtr) Object = My.GDI.Drawing.Font.FromLogFont(tqLogfont,tHDc)
Rückgabe:[Number], Returns the line spacing of this font.
Number = My.GDI.Drawing.Font.GetHeight(tnDpi) Number = My.GDI.Drawing.Font.GetHeight(tnDpi)
Rückgabe:[Integer], Returns a handle to this Font object.
Integer = My.GDI.Drawing.Font.ToHfont()
Rückgabe:[Object], Creates a GDI LOGFONT structure from this Font object.
Object = My.GDI.Drawing.Font.ToLogFont(tqLogFont AS VARBINARY, toGraphics AS xfcGraphics) Object = My.GDI.Drawing.Font.ToLogFont(tqLogFont,toGraphics)
Gibt die Daten der GDI Klasse als lesbaren String zurück
String = My.GDI.Drawing.Font.ToString()
LOCAL lcString AS String */ Rückgabe eines lesbaren Strings lcString = My.GDI.Drawing.Font.ToString() =MESSAGEBOX(m.lcString,64,"Info...")
Gets a value that indicates whether this Font object is bold.
Number = My.GDI.Drawing.Font.Bold
Gets the FontFamily object associated with this Font object.
Number = My.GDI.Drawing.Font.FontFamily
Gets a byte value that specifies the GDI character set that this Font object uses.
General = My.GDI.Drawing.Font.GdiCharSet
Gets a Boolean value that indicates whether this Font object is derived from a GDI vertical font.
General = My.GDI.Drawing.Font.GdiVerticalFont
Gets a value that indicates whether this Font object is italic.
Number = My.GDI.Drawing.Font.Italic
Gets the em-size of this Font object measured in the unit of this Font object.
S = My.GDI.Drawing.Font.Size
Gets the em-size, in points, of this Font object.
S = My.GDI.Drawing.Font.SizeInPoints
Gets a value that indicates whether this Font object specifies a horizontal line through the font.
S = My.GDI.Drawing.Font.Strikeout
Gets style information for this Font object.
S = My.GDI.Drawing.Font.Style
Gets a value that indicates whether this Font object is underlined.
U = My.GDI.Drawing.Font.Underline
Gets the unit of measure for this Font object.
U = My.GDI.Drawing.Font.Unit
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]
String = My.GDI.Drawing.Font.cMethod
*/ Abruf... WAIT WINDOW My.GDI.Drawing.Font.cMethod
Boolean = My.GDI.Drawing.Font.lastresult
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.
Number = My.GDI.Drawing.Font.nError
WAIT WINDOW My.GDI.Drawing.Font.nError
Zeilennummer, in der der letzte Fehler auftrat
Number = My.GDI.Drawing.Font.nLine
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