PMS32 Online- Hilfereferenz

MY.GDI.DRAWING.IMAGE

Image - Bearbeiten von Images


Hilfe: GDI Method or Property
Bearbeiten von Images


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

Memberliste von Image


Liste der Methoden von Image


Clone() - Duplikat erzeugen

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

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

FromFile() - GDI Method or Property

Rückgabe:[Object], Creates an Image object from the specified file.
Hilfeinformation
Rückgabe:[Object], Creates an Image object from the specified file.

Aufrufinformation
Object = My.GDI.Drawing.Image.FromFile(tcFilename, tlUseEmbeddedColorManagement)
Object = My.GDI.Drawing.Image.FromFile(tcFilename,tlUseEmbeddedColorManagement)
Codeinformation


FromHbitmap() - GDI Method or Property

Rückgabe:[Object], Creates a Bitmap object from a Windows handle.
Hilfeinformation
Rückgabe:[Object], Creates a Bitmap object from a Windows handle.

Aufrufinformation
Object = My.GDI.Drawing.Image.FromHbitmap(tHBitmap AS IntPtr, tHPalette AS IntPtr)
Object = My.GDI.Drawing.Image.FromHbitmap(tHBitmap,tHPalette)
Codeinformation


FromStream() - GDI Method or Property

Rückgabe:[Object], Creates an Image object from the specified data stream.
Hilfeinformation
Rückgabe:[Object], Creates an Image object from the specified data stream.

Aufrufinformation
Object = My.GDI.Drawing.Image.FromStream(toStream AS xfcStream, tlUseEmbeddedColorManagement)
Object = My.GDI.Drawing.Image.FromStream(toStream,tlUseEmbeddedColorManagement)
Codeinformation


FromVarBinary() - GDI Method or Property

Rückgabe:[Object], Creates an Image object from the specified VarBinary string.
Hilfeinformation
Rückgabe:[Object], Creates an Image object from the specified VarBinary string.

Aufrufinformation
Object = My.GDI.Drawing.Image.FromVarBinary(tqBinary, tlUseEmbeddedColorManagement)
Object = My.GDI.Drawing.Image.FromVarBinary(tqBinary,tlUseEmbeddedColorManagement)
Codeinformation


GetBounds() - GDI Method or Property

Rückgabe:[Object], Gets a bounding rectangle in the specified units for this Image object.
Hilfeinformation
Rückgabe:[Object], Gets a bounding rectangle in the specified units for this Image object.

Aufrufinformation
Object = My.GDI.Drawing.Image.GetBounds(tiPageUnit AS @EnumGraphicsUnit)
Object = My.GDI.Drawing.Image.GetBounds(@tiPageUnit)
Codeinformation


GetEncoderParameterList() - GDI Method or Property

Rückgabe:[Object], Returns information about the parameters supported by the specified image encoder.
Hilfeinformation
Rückgabe:[Object], Returns information about the parameters supported by the specified image encoder.

Aufrufinformation
Object = My.GDI.Drawing.Image.GetEncoderParameterList(toEncoder AS xfcGuid)
Object = My.GDI.Drawing.Image.GetEncoderParameterList(toEncoder)
Codeinformation


GetFrameCount() - GDI Method or Property

Rückgabe:[Integer], Returns the number of frames of the specified dimension.
Hilfeinformation
Rückgabe:[Integer], Returns the number of frames of the specified dimension.

Aufrufinformation
Integer = My.GDI.Drawing.Image.GetFrameCount(toDimension AS xfcFrameDimension)
Integer = My.GDI.Drawing.Image.GetFrameCount(toDimension)
Codeinformation


GetMonochrome() - GDI Method or Property

Rückgabe:[Object], Returns a monochrome bitmap (1bpp) of this Image object.
Hilfeinformation
Rückgabe:[Object], Returns a monochrome bitmap (1bpp) of this Image object.

Aufrufinformation
Object = My.GDI.Drawing.Image.GetMonochrome()
Codeinformation


GetPictureVal() - GDI Method or Property

Rückgabe:[String], Returns a String containing the PictureVal of this Image object
Hilfeinformation
Rückgabe:[String], Returns a String containing the PictureVal of this Image object

Aufrufinformation
String = My.GDI.Drawing.Image.GetPictureVal(toEncoder AS xfcImageCodecInfo, toEncoderParams AS xfcEncoderParameters)
String = My.GDI.Drawing.Image.GetPictureVal(toEncoder,toEncoderParams)
Codeinformation


GetPictureValfromHBitmap() - GDI Method or Property

Rückgabe:[String], Returns a String containing the PictureVal of this Image object using the HBitmap GDI technique
Hilfeinformation
Rückgabe:[String], Returns a String containing the PictureVal of this Image object using the HBitmap GDI technique

Aufrufinformation
String = My.GDI.Drawing.Image.GetPictureValfromHBitmap()
Codeinformation


GetPixelFormatSize() - GDI Method or Property

Rückgabe:[Integer], Returns the color depth (number of bits per pixel) of the specified pixel format.
Hilfeinformation
Rückgabe:[Integer], Returns the color depth (number of bits per pixel) of the specified pixel format.

Aufrufinformation
Integer = My.GDI.Drawing.Image.GetPixelFormatSize(tiPixfmt AS EnumPixelFormat)
Integer = My.GDI.Drawing.Image.GetPixelFormatSize(tiPixfmt)
Codeinformation


GetPropertyItem() - Rückgabe einer Property der COM+ Serverklasse

Rückgabe:[Object], Gets the specified property item from this Image object.
Hilfeinformation
Rückgabe:[Object], Gets the specified property item from this Image object.

Aufrufinformation
Object = My.GDI.Drawing.Image.GetPropertyItem(tiPropid)
Object = My.GDI.Drawing.Image.GetPropertyItem(tiPropid)
Codeinformation
*/ Beispielcode
*/ Setzen des Startpfades von PMS32 (lokal)
CD C:\PMS32
*/ Aktivieren von My
My = NEWOBJECT("pmsmy","pmsmyhandler.vcx","pmsmyhandler.app")
*/ Setzen des zuletzt gewählten Mandanten
My.cIdx02=My.cIdx02
*/ Abruf einer Property
? My.Clients.Path.GetProperty("cDbfDir")		&& Gibt den Pfad des Mandantenverzeichnisses zurück
? My.Clients.Path.GetProperty("cIcx02")			&& Gibt den Namen des Mandanten zurück
*/ Die obigen Properties können direkt am COM+ Server abgefragt werden!
? My.Clients.Path.cDbfDir
? My.Clients.Path.cIcx02
*/ Diese Properties sind im COM+ Server versteckt:
? My.Clients.Path.GetProperty("_ProgType")		&& Programmtyp des Servers: EXE, MTDLL, STDLL
*/ Je nach COM+ Server kann es weitere versteckte Properties geben!
*/ Die Rückgabe ist .NULL. wenn die Property nicht gefunden werden kann!

GetThumbnailImage() - GDI Method or Property

Rückgabe:[Object], Returns a thumbnail for this Image object.
Hilfeinformation
Rückgabe:[Object], Returns a thumbnail for this Image object.

Aufrufinformation
Object = My.GDI.Drawing.Image.GetThumbnailImage(tiThumbWidth, tiThumbHeight,  thCallback AS FuncPtr, tiCallbackData AS IntPtr)
Object = My.GDI.Drawing.Image.GetThumbnailImage(tiThumbWidth,tiThumbHeight,thCallback,tiCallbackData)
Codeinformation


IsAlphaPixelFormat() - GDI Method or Property

Rückgabe:[Boolean], Returns a value that indicates whether the pixel format for this Image object contains alpha information.
Hilfeinformation
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format for this Image object contains alpha information.

Aufrufinformation
Boolean = My.GDI.Drawing.Image.IsAlphaPixelFormat(tiPixfmt AS EnumPixelFormat)
Boolean = My.GDI.Drawing.Image.IsAlphaPixelFormat(tiPixfmt)
Codeinformation


IsCanonicalPixelFormat() - GDI Method or Property

Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is canonical.
Hilfeinformation
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is canonical.

Aufrufinformation
Boolean = My.GDI.Drawing.Image.IsCanonicalPixelFormat(tiPixfmt AS EnumPixelFormat)
Boolean = My.GDI.Drawing.Image.IsCanonicalPixelFormat(tiPixfmt)
Codeinformation


IsExtendedPixelFormat() - GDI Method or Property

Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is extended.
Hilfeinformation
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is extended.

Aufrufinformation
Boolean = My.GDI.Drawing.Image.IsExtendedPixelFormat(tiPixfmt AS EnumPixelFormat)
Boolean = My.GDI.Drawing.Image.IsExtendedPixelFormat(tiPixfmt)
Codeinformation


RemovePropertyItem() - GDI Method or Property

Rückgabe:[VOID], Removes the specified property item from this Image object.
Hilfeinformation
Rückgabe:[VOID], Removes the specified property item from this Image object.

Aufrufinformation
VOID = My.GDI.Drawing.Image.RemovePropertyItem(tiPropid)
VOID = My.GDI.Drawing.Image.RemovePropertyItem(tiPropid)
Codeinformation


RotateFlip() - GDI Method or Property

Rückgabe:[VOID], This method either rotates, flips, or rotates and flips the Image object.
Hilfeinformation
Rückgabe:[VOID], This method either rotates, flips, or rotates and flips the Image object.

Aufrufinformation
VOID = My.GDI.Drawing.Image.RotateFlip(tiRotateFlipType AS EnumRotateFlipType)
VOID = My.GDI.Drawing.Image.RotateFlip(tiRotateFlipType)
Codeinformation


Save() - GDI Method or Property

Rückgabe:[VOID], Saves this image to the specified stream in the specified format.
Hilfeinformation
Rückgabe:[VOID], Saves this image to the specified stream in the specified format.

Aufrufinformation
VOID = My.GDI.Drawing.Image.Save(tcFilename  , toEncoder AS xfcImageCodecInfo, toEncoderParams AS xfcEncoderParameters)
VOID = My.GDI.Drawing.Image.Save(tcFilename,toEncoder,toEncoderParams)
Codeinformation


SaveAdd() - GDI Method or Property

Rückgabe:[VOID], Adds the information in the specified Image object to this Image object. The specified EncoderParameters object determines how the new information is incorporated into the existing image.
Hilfeinformation
Rückgabe:[VOID], Adds the information in the specified Image object to this Image object. The specified EncoderParameters object determines how the new information is incorporated into the existing image.

Aufrufinformation
VOID = My.GDI.Drawing.Image.SaveAdd(toImage AS xfcImage, toEncoderParams AS xfcEncoderParameters)
VOID = My.GDI.Drawing.Image.SaveAdd(toImage,toEncoderParams)
Codeinformation


SelectActiveFrame() - GDI Method or Property

Rückgabe:[Integer], Selects the frame specified by the dimension and index.
Hilfeinformation
Rückgabe:[Integer], Selects the frame specified by the dimension and index.

Aufrufinformation
Integer = My.GDI.Drawing.Image.SelectActiveFrame(toDimension AS xfcFrameDimension, tiFrameIndex)
Integer = My.GDI.Drawing.Image.SelectActiveFrame(toDimension,tiFrameIndex)
Codeinformation


SetPropertyItem() - GDI Method or Property

Rückgabe:[VOID], Stores a property item (piece of metadata) in this Image object.
Hilfeinformation
Rückgabe:[VOID], Stores a property item (piece of metadata) in this Image object.

Aufrufinformation
VOID = My.GDI.Drawing.Image.SetPropertyItem(toPropitem AS xfcPropertyItem)
VOID = My.GDI.Drawing.Image.SetPropertyItem(toPropitem)
Codeinformation


ToPrinter() - GDI Method or Property

Rückgabe:[Boolean], Sends the image object to the Printer
Hilfeinformation
Rückgabe:[Boolean], Sends the image object to the Printer

Aufrufinformation
Boolean = My.GDI.Drawing.Image.ToPrinter(tnStretch, tcPrinterName, tnOrientation, tnAlignment)
Boolean = My.GDI.Drawing.Image.ToPrinter(tnStretch,tcPrinterName,tnOrientation,tnAlignment)
Codeinformation


Liste der Properties von Image


PropertyItems - GDI Method or Property

Gets all the property items (pieces of metadata) stored in this Image object.
Hilfeinformation
Gets all the property items (pieces of metadata) stored in this Image object.

Aufrufinformation
P = My.GDI.Drawing.Image.PropertyItems
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.Image.cMethod
Codeinformation
*/ Abruf...
WAIT WINDOW My.GDI.Drawing.Image.cMethod

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.Image.nError
Codeinformation
WAIT WINDOW My.GDI.Drawing.Image.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.Image.nLine
Codeinformation
WAIT WINDOW My.GDI.Drawing.Image.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