PMS32 Online- Hilfereferenz
Rectangle - Mehreck unter Windows
Mehreck unter Windows
*/ Kurzbeispiel für den Zugriff auf diese Struktur */ Der Zugriff erfolgt über: My.GDI.Drawing.Rectangle */ 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 loRectangle AS My.GDI.Drawing.Rectangle */ Setzen der Variablen loRectangle = My.GDI.Drawing.Rectangle */ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein... REPLACE ALL Feldname1 WITH loRectangle.Function1(),Feldname2 WITH loRectangle.Function1(), ... */ Oder in einer Schleife... SCAN lvValue = loRectangle.Function(Alias.Spalte) + 25 lvValue = loRectangle.Function2(m.lvValue) REPLACE Feldname WITH m.lvValue,... ENDSCAN */ Es sind auch geschachtelte Aufrufe möglich...
Rückgabe:[Object], Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values.
Object = My.GDI.Drawing.Rectangle.Ceiling(toRectF AS xfcRectangleF) Object = My.GDI.Drawing.Rectangle.Ceiling(toRectF)
Rückgabe:[Boolean], Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Boolean = My.GDI.Drawing.Rectangle.Contains(tiX, tiY, tiWidth, tiHeight) Boolean = My.GDI.Drawing.Rectangle.Contains(tiX,tiY,tiWidth,tiHeight)
Rückgabe:[Object], Creates a Rectangle structure with the specified edge locations.
Object = My.GDI.Drawing.Rectangle.FromLTRB(tiLeft, tiTop, tiRight, tiBottom) Object = My.GDI.Drawing.Rectangle.FromLTRB(tiLeft,tiTop,tiRight,tiBottom)
Rückgabe:[VOID], Gibt die Eckwerte eines Vierecks zurück
VOID = My.GDI.Drawing.Rectangle.GetExtent(tiX AS INTEGER @, tiY AS INTEGER @, tiWidth AS INTEGER @, tiHeight AS INTEGER @) VOID = My.GDI.Drawing.Rectangle.GetExtent(@tiX,@tiY,@tiWidth,@tiHeight)
Rückgabe:[Object], Creates and returns an inflated copy of the specified Rectangle structure. The copy is inflated by the specified amount.
Object = My.GDI.Drawing.Rectangle.Inflate(tiWidth, tiHeight, tiY) Object = My.GDI.Drawing.Rectangle.Inflate(tiWidth,tiHeight,tiY)
Rückgabe:[VOID], Replaces this Rectangle structure with the intersection of itself and the specified Rectangle structure.
VOID = My.GDI.Drawing.Rectangle.Intersect(toA AS xfcRectangle, toB AS xfcRectangle) VOID = My.GDI.Drawing.Rectangle.Intersect(toA,toB)
Rückgabe:[Boolean], Determines if this rectangle intersects with rect.
Boolean = My.GDI.Drawing.Rectangle.IntersectsWith(toRect AS xfcRectangle) Boolean = My.GDI.Drawing.Rectangle.IntersectsWith(toRect)
Rückgabe:[Object], Erstellt ein Array von Rectangle
Object = My.GDI.Drawing.Rectangle.NewArray(tiX, tiY, tiWidth, tiHeight) Object = My.GDI.Drawing.Rectangle.NewArray(tiX,tiY,tiWidth,tiHeight)
Rückgabe:[VOID], Adjusts the location of this rectangle by the specified amount.
VOID = My.GDI.Drawing.Rectangle.Offset(tiX, tiY) VOID = My.GDI.Drawing.Rectangle.Offset(tiX,tiY)
Rückgabe:[Object], Converts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values.
Object = My.GDI.Drawing.Rectangle.Round(toRectF AS xfcRectangleF) Object = My.GDI.Drawing.Rectangle.Round(toRectF)
Gibt die Daten der GDI Klasse als lesbaren String zurück
String = My.GDI.Drawing.Rectangle.ToString()
LOCAL lcString AS String */ Rückgabe eines lesbaren Strings lcString = My.GDI.Drawing.Rectangle.ToString() =MESSAGEBOX(m.lcString,64,"Info...")
Wandelt einen String in eine binäre Zeichenfolge um
String = My.GDI.Drawing.Rectangle.ToVarbinary(taRect AS xfcRectangle, tiCount) String = My.GDI.Drawing.Rectangle.ToVarbinary(taRect,tiCount)
Rückgabe:[Object], Converts the specified RectangleF to a Rectangle by truncating the RectangleF values.
Object = My.GDI.Drawing.Rectangle.Truncate(toRectF AS xfcRectangleF) Object = My.GDI.Drawing.Rectangle.Truncate(toRectF)
Rückgabe:[Object], Gets a Rectangle structure that contains the union of two R ectangle structures.
Object = My.GDI.Drawing.Rectangle.Union(toRectA AS xfcRectangle, toRectB AS xfcRectangle) Object = My.GDI.Drawing.Rectangle.Union(toRectA,toRectB)
Gets the y-coordinate of the bottom edge of this Rectangle structure.
Number = My.GDI.Drawing.Rectangle.Bottom
Tests whether all numeric properties of this Rectangle have values of zero.
Number = My.GDI.Drawing.Rectangle.IsEmpty
Gets or sets the coordinates of the upper-left corner of this Rectangle structure.
Boolean = My.GDI.Drawing.Rectangle.Location
Gets the x-coordinate of the right edge of this Rectangle structure.
R = My.GDI.Drawing.Rectangle.Right
Gets or sets the size of this Rectangle.
S = My.GDI.Drawing.Rectangle.Size
Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure.
X = My.GDI.Drawing.Rectangle.X
Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.
Number = My.GDI.Drawing.Rectangle.Y
Methode in der der letzte Fehler auftrat.
Aufbau: [Fehlernummer] [Methode] [Zeilennummer] [Message]
String = My.GDI.Drawing.Rectangle.cMethod
*/ Abruf... WAIT WINDOW My.GDI.Drawing.Rectangle.cMethod
Fehlernummer des letzten Fehlers.
Ist der Wert kleiner null, so handelt es sich um einen logischen Fehler.
Number = My.GDI.Drawing.Rectangle.nError
WAIT WINDOW My.GDI.Drawing.Rectangle.nError
Zeilennummer, in der der letzte Fehler auftrat
Number = My.GDI.Drawing.Rectangle.nLine
WAIT WINDOW My.GDI.Drawing.Rectangle.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