PMS32 Online- Hilfereferenz
Bitmap - Behandlung von Bitmaps
Behandlung von Bitmaps
*/ Kurzbeispiel für den Zugriff auf diese Struktur */ Der Zugriff erfolgt über: My.GDI.Drawing.Bitmap */ 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 loBitmap AS My.GDI.Drawing.Bitmap */ Setzen der Variablen loBitmap = My.GDI.Drawing.Bitmap */ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein... REPLACE ALL Feldname1 WITH loBitmap.Function1(),Feldname2 WITH loBitmap.Function1(), ... */ Oder in einer Schleife... SCAN lvValue = loBitmap.Function(Alias.Spalte) + 25 lvValue = loBitmap.Function2(m.lvValue) REPLACE Feldname WITH m.lvValue,... ENDSCAN */ Es sind auch geschachtelte Aufrufe möglich...
Rückgabe:[VOID], Aplies the recived ColorMatrix to the current image
VOID = My.GDI.Drawing.Bitmap.ApplyColorMatrix(toClrMatrix AS xfcColorMatrix, tiFormat AS EnumPixelFormat) VOID = My.GDI.Drawing.Bitmap.ApplyColorMatrix(toClrMatrix,tiFormat)
Erzeugt ein Duplikat von sich selbst.
Object = My.GDI.Drawing.Bitmap.Clone(toRect AS xfcRectangle, tiFormat AS EnumPixelFormat) Object = My.GDI.Drawing.Bitmap.Clone(toRect,tiFormat)
LOCAL loCone AS My.GDI.Drawing.Bitmap */ Erzeugt einen Klon von sich selbst... loCone = My.GDI.Drawing.Bitmap.Clone()
Rückgabe:[Boolean], RELEASE dieses Objektes durchführen
Boolean = My.GDI.Drawing.Bitmap.Dispose()
Vergleicht zwei Objekte und gibt .T. zurück wenn übereinstimmend
Boolean = My.GDI.Drawing.Bitmap.Equals(toObject1, toObject2) Boolean = My.GDI.Drawing.Bitmap.Equals(toObject1,toObject2)
Rückgabe:[Object], Creates a Bitmap from the clipboard data
Object = My.GDI.Drawing.Bitmap.FromClipBoard()
Rückgabe:[Object], Creates an Image object from the specified file.
Object = My.GDI.Drawing.Bitmap.FromFile(tcFilename, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Bitmap.FromFile(tcFilename,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Creates a Bitmap object from a Windows handle.
Object = My.GDI.Drawing.Bitmap.FromHBitMap(tHBitmap AS IntPtr, tHPalette AS IntPtr) Object = My.GDI.Drawing.Bitmap.FromHBitMap(tHBitmap,tHPalette)
Rückgabe:[Object], Creates a Bitmap from a Windows handle to an icon.
Object = My.GDI.Drawing.Bitmap.FromHIcon(tHIcon AS IntPtr) Object = My.GDI.Drawing.Bitmap.FromHIcon(tHIcon)
Rückgabe:[Object], Creates a Bitmap object from the specified Windows resource.
Object = My.GDI.Drawing.Bitmap.FromResource(tHInstance AS IntPtr, tcBitmapName) Object = My.GDI.Drawing.Bitmap.FromResource(tHInstance,tcBitmapName)
Rückgabe:[Object], Captures the window specified by the Hwnd
Object = My.GDI.Drawing.Bitmap.FromScreen(tHWnd, tiX, tiY, tiWidth, tiHeight, tlEnsureVisible) Object = My.GDI.Drawing.Bitmap.FromScreen(tHWnd,tiX,tiY,tiWidth,tiHeight,tlEnsureVisible)
Rückgabe:[Object], Creates an Image object from the specified data stream.
Object = My.GDI.Drawing.Bitmap.FromStream(toStream AS xfcStream, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Bitmap.FromStream(toStream,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Creates an Image object from the specified VarBinary string.
Object = My.GDI.Drawing.Bitmap.FromVarbinary(tqBinary, tlUseEmbeddedColorManagement) Object = My.GDI.Drawing.Bitmap.FromVarbinary(tqBinary,tlUseEmbeddedColorManagement)
Rückgabe:[Object], Gets a bounding rectangle in the specified units for this Image object.
Object = My.GDI.Drawing.Bitmap.GetBounds(tiPageUnit AS @EnumGraphicsUnit) Object = My.GDI.Drawing.Bitmap.GetBounds(@tiPageUnit)
Rückgabe:[Object], Returns information about the parameters supported by the specified image encoder.
Object = My.GDI.Drawing.Bitmap.GetEncoderParameterList(toEncoder AS xfcGuid) Object = My.GDI.Drawing.Bitmap.GetEncoderParameterList(toEncoder)
Rückgabe:[Integer], Returns the number of frames of the specified dimension.
Integer = My.GDI.Drawing.Bitmap.GetFrameCount(toDimension AS xfcFrameDimension) Integer = My.GDI.Drawing.Bitmap.GetFrameCount(toDimension)
Rückgabe:[Boolean], Gibt das Handle zurück
Boolean = My.GDI.Drawing.Bitmap.GetHandle()
Gibt einen Schlüssel für die GDI-Klasse zurück
String = My.GDI.Drawing.Bitmap.GetHashCode(toObject AS Object) String = My.GDI.Drawing.Bitmap.GetHashCode(toObject)
LOCAL lcString AS String */ Rückgabe eines eindeutigen Suchbegriffs lcString = My.GDI.Drawing.Bitmap.GetHashCode() =MESSAGEBOX(m.lcString,64,"HashCode...")
Rückgabe:[Integer], Creates a GDI bitmap object from a GDI+ Bitmap object.
Integer = My.GDI.Drawing.Bitmap.GetHbitmap(toBackground AS xfcColor) Integer = My.GDI.Drawing.Bitmap.GetHbitmap(toBackground)
Rückgabe:[Integer], Returns the handle to an icon.
Integer = My.GDI.Drawing.Bitmap.GetHicon()
Rückgabe:[Boolean], Gibt den letzten Status zurück
Boolean = My.GDI.Drawing.Bitmap.GetLastStatus()
Rückgabe:[Object], Provides the Mask bitmap from the current image
Object = My.GDI.Drawing.Bitmap.GetMask(tiFormat AS EnumPixelFormat) Object = My.GDI.Drawing.Bitmap.GetMask(tiFormat)
Rückgabe:[Object], Returns a monochrome bitmap (1bpp) of this Image object.
Object = My.GDI.Drawing.Bitmap.GetMonoChrome()
Rückgabe:[String], Returns a String containing the PictureVal of this Image object
String = My.GDI.Drawing.Bitmap.GetPictureVal(toEncoder AS xfcImageCodecInfo, toEncoderParams AS xfcEncoderParameters) String = My.GDI.Drawing.Bitmap.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.Bitmap.GetPictureValFromHBitMap()
Rückgabe:[Object], Gets the color of the specified pixel in this Bitmap.
Object = My.GDI.Drawing.Bitmap.GetPixel(tiX, tiY) Object = My.GDI.Drawing.Bitmap.GetPixel(tiX,tiY)
Rückgabe:[Integer], Returns the color depth (number of bits per pixel) of the specified pixel format.
Integer = My.GDI.Drawing.Bitmap.GetPixelFormatSize(tiPixfmt AS EnumPixelFormat) Integer = My.GDI.Drawing.Bitmap.GetPixelFormatSize(tiPixfmt)
Rückgabe:[Object], Gets the specified property item from this Image object.
Object = My.GDI.Drawing.Bitmap.GetPropertyItem(tiPropid) Object = My.GDI.Drawing.Bitmap.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.Bitmap.GetThumbnailImage(tiThumbWidth, tiThumbHeight, thCallback AS FuncPtr, tiCallbackData AS IntPtr) Object = My.GDI.Drawing.Bitmap.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.Bitmap.IsAlphaPixelformat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Bitmap.IsAlphaPixelformat(tiPixfmt)
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is canonical.
Boolean = My.GDI.Drawing.Bitmap.IsCanonicalPixelFormat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Bitmap.IsCanonicalPixelFormat(tiPixfmt)
Rückgabe:[Boolean], Returns a value that indicates whether the pixel format is extended.
Boolean = My.GDI.Drawing.Bitmap.IsExtendedPixelFormat(tiPixfmt AS EnumPixelFormat) Boolean = My.GDI.Drawing.Bitmap.IsExtendedPixelFormat(tiPixfmt)
Rückgabe:[Object], Locks a Bitmap object into system memory.
Object = My.GDI.Drawing.Bitmap.LockBits(toRect AS xfcRectangle, tiFlags AS EnumImageLockMode, tiFormat AS EnumPixelFormat) Object = My.GDI.Drawing.Bitmap.LockBits(toRect,tiFlags,tiFormat)
Rückgabe:[VOID], Makes the default transparent color transparent for this Bitmap.
VOID = My.GDI.Drawing.Bitmap.MakeTransparent(toTransparentColor AS xfcColor) VOID = My.GDI.Drawing.Bitmap.MakeTransparent(toTransparentColor)
Rückgabe:[Object], erzeugt einen Clone bzw. ein Objekt
Object = My.GDI.Drawing.Bitmap.MemberwiseClone()
Erzeugt ein Objekt von sich selbst.
Variant = My.GDI.Drawing.Bitmap.New(tiWidth, tiHeight , tiStride, tiFormat AS EnumPixelFormat, tiScan0 AS IntPtr) Variant = My.GDI.Drawing.Bitmap.New(tiWidth,tiHeight,tiStride,tiFormat,tiScan0)
Rückgabe:[Integer], This replaces OBJTOCLIENT that has bugs with pageframes and SP2
Integer = My.GDI.Drawing.Bitmap.ObjToClientEx(toControl, tnType && 1 = Top 2 = Left) Integer = My.GDI.Drawing.Bitmap.ObjToClientEx(toControl,tnType)
Rückgabe:[Boolean], vergleicht zwei Objekte incl. Test auf Objekt
Boolean = My.GDI.Drawing.Bitmap.ReferenceEquals(toObject1, toObject2) Boolean = My.GDI.Drawing.Bitmap.ReferenceEquals(toObject1,toObject2)
Rückgabe:[VOID], Removes the specified property item from this Image object.
VOID = My.GDI.Drawing.Bitmap.RemovePropertyItem(tiPropid) VOID = My.GDI.Drawing.Bitmap.RemovePropertyItem(tiPropid)
Rückgabe:[VOID], This method either rotates, flips, or rotates and flips the Image object.
VOID = My.GDI.Drawing.Bitmap.RotateFlip(tiRotateFlipType AS EnumRotateFlipType) VOID = My.GDI.Drawing.Bitmap.RotateFlip(tiRotateFlipType)
Rückgabe:[Integer], Selects the frame specified by the dimension and index.
Integer = My.GDI.Drawing.Bitmap.SelectActiveFrame(toDimension AS xfcFrameDimension, tiFrameIndex) Integer = My.GDI.Drawing.Bitmap.SelectActiveFrame(toDimension,tiFrameIndex)
Rückgabe:[VOID], Sets the color of the specified pixel in this Bitmap object.
VOID = My.GDI.Drawing.Bitmap.SetPixel(tiX, tiY, toColor AS xfcColor) VOID = My.GDI.Drawing.Bitmap.SetPixel(tiX,tiY,toColor)
Rückgabe:[VOID], Stores a property item (piece of metadata) in this Image object.
VOID = My.GDI.Drawing.Bitmap.SetPropertyItem(toPropitem AS xfcPropertyItem) VOID = My.GDI.Drawing.Bitmap.SetPropertyItem(toPropitem)
Rückgabe:[VOID], Sets the resolution for this Bitmap.
VOID = My.GDI.Drawing.Bitmap.SetResolution(tnXDpi, tnYDpi) VOID = My.GDI.Drawing.Bitmap.SetResolution(tnXDpi,tnYDpi)
Rückgabe:[VOID], Sends the Image to the clipboard
VOID = My.GDI.Drawing.Bitmap.ToClipboard(toImage AS xfcImage) VOID = My.GDI.Drawing.Bitmap.ToClipboard(toImage)
Rückgabe:[Boolean], Sends the image object to the Printer
Boolean = My.GDI.Drawing.Bitmap.ToPrinter(tnStretch, tcPrinterName, tnOrientation, tnAlignment) Boolean = My.GDI.Drawing.Bitmap.ToPrinter(tnStretch,tcPrinterName,tnOrientation,tnAlignment)
Rückgabe:[VOID], Unlocks this Bitmap from system memory.
VOID = My.GDI.Drawing.Bitmap.UnlockBits(toBitmapdata AS xfcBitmapData) VOID = My.GDI.Drawing.Bitmap.UnlockBits(toBitmapdata)
Name der Basisklasse in der GDI Struktur
Number = My.GDI.Drawing.Bitmap.BaseName
WAIT WINDOW My.GDI.Drawing.Bitmap.BaseName
Gets attribute flags for this Image object.
Number = My.GDI.Drawing.Bitmap.Flags
Gets an array of GUIDs that represent the dimensions of frames within this Image object.
Number = My.GDI.Drawing.Bitmap.FrameDimensionsList[tcIndex1 AS String | tiIndex1 AS Integer , tiIndex2 AS Integer] Number = My.GDI.Drawing.Bitmap.FrameDimensionsList[tcIndex1|,tiIndex1,tiIndex2]
H = My.GDI.Drawing.Bitmap.Handle
Specifies the height of an object on the screen.
H = My.GDI.Drawing.Bitmap.Height
Gets the horizontal resolution, in pixels-per-inch, of this Image object.
H = My.GDI.Drawing.Bitmap.HorizontalResolution
Gets or sets the color palette used for this Image object.
P = My.GDI.Drawing.Bitmap.Palette
Gets the width and height of this image.
P = My.GDI.Drawing.Bitmap.PhysicalDimension
Gets the pixel format for this Image object.
P = My.GDI.Drawing.Bitmap.PixelFormat
P = My.GDI.Drawing.Bitmap.PropertyIdList[tcIndex1 AS String | tiIndex1 AS Integer , tiIndex2 AS Integer] P = My.GDI.Drawing.Bitmap.PropertyIdList[tcIndex1|,tiIndex1,tiIndex2]
Gets all the property items (pieces of metadata) stored in this Image object.
P = My.GDI.Drawing.Bitmap.PropertyItems
Gets the format of this Image object.
R = My.GDI.Drawing.Bitmap.RawFormat
Gets the width and height, in pixels, of this image.
S = My.GDI.Drawing.Bitmap.Size
S = My.GDI.Drawing.Bitmap.StreamPtr
Gets the vertical resolution, in pixels-per-inch, of this Image object.
String = My.GDI.Drawing.Bitmap.VerticalResolution
Specifies the width of an object.
String = My.GDI.Drawing.Bitmap.Width
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]
String = My.GDI.Drawing.Bitmap.cMethod
*/ Abruf... WAIT WINDOW My.GDI.Drawing.Bitmap.cMethod
Boolean = My.GDI.Drawing.Bitmap.lAsTResult
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.
Number = My.GDI.Drawing.Bitmap.nError
WAIT WINDOW My.GDI.Drawing.Bitmap.nError
Zeilennummer, in der der letzte Fehler auftrat
Number = My.GDI.Drawing.Bitmap.nLine
WAIT WINDOW My.GDI.Drawing.Bitmap.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