PMS32 Online- Hilfereferenz

MY.GDI.DRAWING.ICON

Icon - Grafische Bearbeitung von Icons


Hilfe: GDI Method or Property
Grafische Bearbeitung von Icons


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

Memberliste von Icon


Liste der Methoden von Icon


Clone() - Duplikat erzeugen

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

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

Dispose() - GDI Method or Property

Rückgabe:[VOID], Releases all resources used by this Icon object.
Hilfeinformation
Rückgabe:[VOID], Releases all resources used by this Icon object.

Aufrufinformation
VOID = My.GDI.Drawing.Icon.Dispose()
Codeinformation


ExtractAssociatedIcon() - GDI Method or Property

Rückgabe:[Object], Returns an icon representation of an image contained in the specified file.
Hilfeinformation
Rückgabe:[Object], Returns an icon representation of an image contained in the specified file.

Aufrufinformation
Object = My.GDI.Drawing.Icon.ExtractAssociatedIcon(tcFilePath, tiIndex, TotIcons)
Object = My.GDI.Drawing.Icon.ExtractAssociatedIcon(tcFilePath,tiIndex,TotIcons)
Codeinformation


FromHandle() - GDI Method or Property

Rückgabe:[Object], Creates a GDI+ Icon object from the specified Windows handle to an icon (HICON).
Hilfeinformation
Rückgabe:[Object], Creates a GDI+ Icon object from the specified Windows handle to an icon (HICON).

Aufrufinformation
Object = My.GDI.Drawing.Icon.FromHandle(tHAndle AS IntPtr)
Object = My.GDI.Drawing.Icon.FromHandle(tHAndle)
Codeinformation


Save() - GDI Method or Property

Rückgabe:[VOID], Saves this Icon object to the specified output Stream object.
Hilfeinformation
Rückgabe:[VOID], Saves this Icon object to the specified output Stream object.

Aufrufinformation
VOID = My.GDI.Drawing.Icon.Save(toOutputStreamortcFile, tlQuality)
VOID = My.GDI.Drawing.Icon.Save(toOutputStreamortcFile,tlQuality)
Codeinformation


ToBitmap() - GDI Method or Property

Rückgabe:[Object], Converts this Icon object to a GDI+ Bitmap object.
Hilfeinformation
Rückgabe:[Object], Converts this Icon object to a GDI+ Bitmap object.

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


Liste der Properties von Icon


Handle - GDI Method or Property

Gets the Windows handle for this Icon object. This is not a copy of the handle; do not free it.
Hilfeinformation
Gets the Windows handle for this Icon object. This is not a copy of the handle; do not free it.

Aufrufinformation
H = My.GDI.Drawing.Icon.Handle
Codeinformation


Size - GDI Method or Property

Gets the size of this Icon object.
Hilfeinformation
Gets the size of this Icon object.

Aufrufinformation
S = My.GDI.Drawing.Icon.Size
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.Icon.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.GDI.Drawing.Icon.cMethod

icondata - GDI Method or Property


Hilfeinformation

Aufrufinformation
Number = My.GDI.Drawing.Icon.icondata
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.Icon.nError
Codeinformation
WAIT WINDOW My.GDI.Drawing.Icon.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.Icon.nLine
Codeinformation
WAIT WINDOW My.GDI.Drawing.Icon.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