PMS32 Online- Hilfereferenz

MY.GDI.DRAWING.STRINGFORMAT

StringFormat - Formatierung von Zeichenketten


Hilfe: GDI Method or Property
Formatierung von Zeichenketten


Code: GDI Method or Property
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.GDI.Drawing.StringFormat
*/ 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 loStringFormat AS My.GDI.Drawing.StringFormat
*/ Setzen der Variablen
loStringFormat = My.GDI.Drawing.StringFormat
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loStringFormat.Function1(),Feldname2 WITH loStringFormat.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loStringFormat.Function(Alias.Spalte) + 25
	lvValue = loStringFormat.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von StringFormat


Liste der Methoden von StringFormat


Clone() - Duplikat erzeugen

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

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

GetTabStops() - GDI Method or Property

Rückgabe:[Variant], [Array], Gets the tab stops for this StringFormat object.
Hilfeinformation
Rückgabe:[Variant], [Array], Gets the tab stops for this StringFormat object.

Aufrufinformation
Variant = My.GDI.Drawing.StringFormat.GetTabStops(tnFirstTabOffset AS NUMBER)
Variant = My.GDI.Drawing.StringFormat.GetTabStops(tnFirstTabOffset)
Codeinformation


SetDigitSubstitution() - GDI Method or Property

Rückgabe:[VOID], Specifies the language and method to be used when local digits are substituted for western digits.
Hilfeinformation
Rückgabe:[VOID], Specifies the language and method to be used when local digits are substituted for western digits.

Aufrufinformation
VOID = My.GDI.Drawing.StringFormat.SetDigitSubstitution(tiLanguage, tiSubstitute AS EnumStringDigitSubstitute)
VOID = My.GDI.Drawing.StringFormat.SetDigitSubstitution(tiLanguage,tiSubstitute)
Codeinformation


SetMeasurableCharacterRanges() - GDI Method or Property

Rückgabe:[VOID], Specifies an array of CharacterRange structures that represent the ranges of characters measured by a call to the Graphics.MeasureCharacterRanges method.
Hilfeinformation
Rückgabe:[VOID], Specifies an array of CharacterRange structures that represent the ranges of characters measured by a call to the Graphics.MeasureCharacterRanges method.

Aufrufinformation
VOID = My.GDI.Drawing.StringFormat.SetMeasurableCharacterRanges(taoRanges AS xfcCharacterRange)
VOID = My.GDI.Drawing.StringFormat.SetMeasurableCharacterRanges(taoRanges)
Codeinformation


SetTabStops() - GDI Method or Property

Rückgabe:[VOID], Sets tab stops for this StringFormat object.
Hilfeinformation
Rückgabe:[VOID], Sets tab stops for this StringFormat object.

Aufrufinformation
VOID = My.GDI.Drawing.StringFormat.SetTabStops(tnFirstTabOffset, tanTabStops AS NUMBER)
VOID = My.GDI.Drawing.StringFormat.SetTabStops(tnFirstTabOffset,tanTabStops)
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.StringFormat.ToString()
Codeinformation
LOCAL lcString AS String
*/ Rückgabe eines lesbaren Strings
lcString = My.GDI.Drawing.StringFormat.ToString()
=MESSAGEBOX(m.lcString,64,"Info...")


Liste der Properties von StringFormat


Alignment - GDI Method or Property

Gets or sets text alignment information.
Hilfeinformation
Gets or sets text alignment information.

Aufrufinformation
Array = My.GDI.Drawing.StringFormat.Alignment
Codeinformation


BaseName - Basisname

Name der Basisklasse in der GDI Struktur
Hilfeinformation
Name der Basisklasse in der GDI Struktur

Aufrufinformation
Number = My.GDI.Drawing.StringFormat.BaseName
Codeinformation
WAIT WINDOW My.GDI.Drawing.StringFormat.BaseName

DigitSubstitutionLanguage - GDI Method or Property


Hilfeinformation

Aufrufinformation
Date = My.GDI.Drawing.StringFormat.DigitSubstitutionLanguage
Codeinformation


DigitSubstitutionMethod - GDI Method or Property


Hilfeinformation

Aufrufinformation
Date = My.GDI.Drawing.StringFormat.DigitSubstitutionMethod
Codeinformation


FormatFlags - GDI Method or Property

Gets or sets a StringFormatFlags enumeration that contains formatting information.
Hilfeinformation
Gets or sets a StringFormatFlags enumeration that contains formatting information.

Aufrufinformation
Number = My.GDI.Drawing.StringFormat.FormatFlags
Codeinformation


GenericDefault - GDI Method or Property

Gets a generic default StringFormat object.
Hilfeinformation
Gets a generic default StringFormat object.

Aufrufinformation
General = My.GDI.Drawing.StringFormat.GenericDefault
Codeinformation


GenericTypographic - GDI Method or Property

Gets a generic typographic StringFormat object.
Hilfeinformation
Gets a generic typographic StringFormat object.

Aufrufinformation
General = My.GDI.Drawing.StringFormat.GenericTypographic
Codeinformation


HotkeyPrefix - GDI Method or Property

Gets or sets the HotkeyPrefix object for this StringFormat object.
Hilfeinformation
Gets or sets the HotkeyPrefix object for this StringFormat object.

Aufrufinformation
H = My.GDI.Drawing.StringFormat.HotkeyPrefix
Codeinformation


LineAlignment - GDI Method or Property

Gets or sets the line alignment.
Hilfeinformation
Gets or sets the line alignment.

Aufrufinformation
Boolean = My.GDI.Drawing.StringFormat.LineAlignment
Codeinformation


Trimming - GDI Method or Property

Gets or sets the StringTrimming enumeration for this StringFormat object.
Hilfeinformation
Gets or sets the StringTrimming enumeration for this StringFormat object.

Aufrufinformation
DateTime = My.GDI.Drawing.StringFormat.Trimming
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.StringFormat.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.GDI.Drawing.StringFormat.cMethod

lastresult -

Letztes Ergebnis
Hilfeinformation

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