Graphics.GetContextInfo Methode

Definition

Überlädt

GetContextInfo()
Veraltet.

Ruft den kumulierten Grafikkontext ab.

GetContextInfo(PointF)

Ruft den kumulativen Offset ab.

GetContextInfo(PointF, Region)

Ruft den kumulativen Offset- und Clipbereich ab.

GetContextInfo()

Quelle:
Graphics.cs
Quelle:
Graphics.cs
Quelle:
Graphics.cs

Achtung

Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.

Ruft den kumulierten Grafikkontext ab.

public:
 System::Object ^ GetContextInfo();
public object GetContextInfo ();
[System.Obsolete("Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.", DiagnosticId="SYSLIB0016", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public object GetContextInfo ();
member this.GetContextInfo : unit -> obj
[<System.Obsolete("Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.", DiagnosticId="SYSLIB0016", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : unit -> obj
Public Function GetContextInfo () As Object

Gibt zurück

Ein Object, das den kumulierten Grafikkontext darstellt.

Attribute

Hinweise

Der Rückgabewert ist ein Objektarray, in dem das erste Element den kumulativen Clipbereich und das zweite Element die kumulative Übersetzungs-/Transformationsmatrix enthält.

Gilt für:

GetContextInfo(PointF)

Quelle:
Graphics.cs
Quelle:
Graphics.cs
Quelle:
Graphics.cs

Ruft den kumulativen Offset ab.

public:
 void GetContextInfo([Runtime::InteropServices::Out] System::Drawing::PointF % offset);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public void GetContextInfo (out System.Drawing.PointF offset);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : PointF -> unit
Public Sub GetContextInfo (ByRef offset As PointF)

Parameter

offset
PointF

Wenn diese Methode zurückgibt, enthält den kumulativen Offset. Dieser Parameter wird nicht initialisiert behandelt.

Attribute

Gilt für:

GetContextInfo(PointF, Region)

Quelle:
Graphics.cs
Quelle:
Graphics.cs
Quelle:
Graphics.cs

Ruft den kumulativen Offset- und Clipbereich ab.

public:
 void GetContextInfo([Runtime::InteropServices::Out] System::Drawing::PointF % offset, [Runtime::InteropServices::Out] System::Drawing::Region ^ % clip);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public void GetContextInfo (out System.Drawing.PointF offset, out System.Drawing.Region? clip);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : PointF * Region -> unit
Public Sub GetContextInfo (ByRef offset As PointF, ByRef clip As Region)

Parameter

offset
PointF

Wenn diese Methode zurückgibt, enthält den kumulativen Offset. Dieser Parameter wird nicht initialisiert behandelt.

clip
Region

Wenn diese Methode zurückgibt, enthält den kumulativen Clipbereich oder null wenn der Clipbereich unendlich ist. Dieser Parameter wird nicht initialisiert behandelt.

Attribute

Gilt für: