PMS32 Online- Hilfereferenz
Image - Bearbeiten von Images
Bearbeiten von Images
*/ 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...
Erzeugt ein Duplikat von sich selbst.
Object = My.GDI.Drawing.Image.Clone()
LOCAL loCone AS My.GDI.Drawing.Image */ Erzeugt einen Klon von sich selbst... loCone = My.GDI.Drawing.Image.Clone()
Rückgabe:[Object], Creates an Image object from the specified file.
Object = My.GDI.Drawing.Image.FromFile(tcFilename, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Image.FromFile(tcFilename,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Creates a Bitmap object from a Windows handle.
Object = My.GDI.Drawing.Image.FromHbitmap(tHBitmap AS IntPtr, tHPalette AS IntPtr) Object = My.GDI.Drawing.Image.FromHbitmap(tHBitmap,tHPalette)
Rückgabe:[Object], Creates an Image object from the specified data stream.
Object = My.GDI.Drawing.Image.FromStream(toStream AS xfcStream, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Image.FromStream(toStream,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Creates an Image object from the specified VarBinary string.
Object = My.GDI.Drawing.Image.FromVarBinary(tqBinary, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Image.FromVarBinary(tqBinary,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Gets a bounding rectangle in the specified units for this Image object.
Object = My.GDI.Drawing.Image.GetBounds(tiPageUnit AS @EnumGraphicsUnit) Object = My.GDI.Drawing.Image.GetBounds(@tiPageUnit)
Rückgabe:[Object], Returns information about the parameters supported by the specified image encoder.
Object = My.GDI.Drawing.Image.GetEncoderParameterList(toEncoder AS xfcGuid) Object = My.GDI.Drawing.Image.GetEncoderParameterList(toEncoder)
Rückgabe:[Integer], Returns the number of frames of the specified dimension.
Integer = My.GDI.Drawing.Image.GetFrameCount(toDimension AS xfcFrameDimension) Integer = My.GDI.Drawing.Image.GetFrameCount(toDimension)
Rückgabe:[Object], Returns a monochrome bitmap (1bpp) of this Image object.
Object = My.GDI.Drawing.Image.GetMonochrome()
Rückgabe:[String], Returns a String containing the PictureVal of this Image object
String = My.GDI.Drawing.Image.GetPictureVal(toEncoder AS xfcImageCodecInfo, toEncoderParams AS xfcEncoderParameters) String = My.GDI.Drawing.Image.GetPictureVal(toEncoder,toEncoderParams)
Rückgabe:[String], Returns a String containing the PictureVal of this Image object using the HBitmap GDI technique
String = My.GDI.Drawing.Image.GetPictureValfromHBitmap()
Rückgabe:[Integer], Returns the color depth (number of bits per pixel) of the specified pixel format.
Integer = My.GDI.Drawing.Image.GetPixelFormatSize(tiPixfmt AS EnumPixelFormat) Integer = My.GDI.Drawing.Image.GetPixelFormatSize(tiPixfmt)
Rückgabe:[Object], Gets the specified property item from this Image object.
Object = My.GDI.Drawing.Image.GetPropertyItem(tiPropid) Object = My.GDI.Drawing.Image.GetPropertyItem(tiPropid)
*/ 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!
Rückgabe:[Object], Returns a thumbnail for this Image object.
Object = My.GDI.Drawing.Image.GetThumbnailImage(tiThumbWidth, tiThumbHeight, thCallback AS FuncPtr, tiCallbackData AS IntPtr) Object = My.GDI.Drawing.Image.GetThumbnailImage(tiThumbWidth,tiThumbHeight,thCallback,tiCallbackData)
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format for this Image object contains alpha information.
Boolean = My.GDI.Drawing.Image.IsAlphaPixelFormat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Image.IsAlphaPixelFormat(tiPixfmt)
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is canonical.
Boolean = My.GDI.Drawing.Image.IsCanonicalPixelFormat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Image.IsCanonicalPixelFormat(tiPixfmt)
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is extended.
Boolean = My.GDI.Drawing.Image.IsExtendedPixelFormat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Image.IsExtendedPixelFormat(tiPixfmt)
Rückgabe:[VOID], Removes the specified property item from this Image object.
VOID = My.GDI.Drawing.Image.RemovePropertyItem(tiPropid) VOID = My.GDI.Drawing.Image.RemovePropertyItem(tiPropid)
Rückgabe:[VOID], This method either rotates, flips, or rotates and flips the Image object.
VOID = My.GDI.Drawing.Image.RotateFlip(tiRotateFlipType AS EnumRotateFlipType) VOID = My.GDI.Drawing.Image.RotateFlip(tiRotateFlipType)
Rückgabe:[VOID], Saves this image to the specified stream in the specified format.
VOID = My.GDI.Drawing.Image.Save(tcFilename , toEncoder AS xfcImageCodecInfo, toEncoderParams AS xfcEncoderParameters) VOID = My.GDI.Drawing.Image.Save(tcFilename,toEncoder,toEncoderParams)
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.
VOID = My.GDI.Drawing.Image.SaveAdd(toImage AS xfcImage, toEncoderParams AS xfcEncoderParameters) VOID = My.GDI.Drawing.Image.SaveAdd(toImage,toEncoderParams)
Rückgabe:[Integer], Selects the frame specified by the dimension and index.
Integer = My.GDI.Drawing.Image.SelectActiveFrame(toDimension AS xfcFrameDimension, tiFrameIndex) Integer = My.GDI.Drawing.Image.SelectActiveFrame(toDimension,tiFrameIndex)
Rückgabe:[VOID], Stores a property item (piece of metadata) in this Image object.
VOID = My.GDI.Drawing.Image.SetPropertyItem(toPropitem AS xfcPropertyItem) VOID = My.GDI.Drawing.Image.SetPropertyItem(toPropitem)
Rückgabe:[Boolean], Sends the image object to the Printer
Boolean = My.GDI.Drawing.Image.ToPrinter(tnStretch, tcPrinterName, tnOrientation, tnAlignment) Boolean = My.GDI.Drawing.Image.ToPrinter(tnStretch,tcPrinterName,tnOrientation,tnAlignment)
Gets all the property items (pieces of metadata) stored in this Image object.
P = My.GDI.Drawing.Image.PropertyItems
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]
String = My.GDI.Drawing.Image.cMethod
*/ Abruf... WAIT WINDOW My.GDI.Drawing.Image.cMethod
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.
Number = My.GDI.Drawing.Image.nError
WAIT WINDOW My.GDI.Drawing.Image.nError
Zeilennummer, in der der letzte Fehler auftrat
Number = My.GDI.Drawing.Image.nLine
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