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()

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

Object

Ein Object, das den kumulierten Grafikkontext darstellt.

Attribute

Hinweise

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

Gilt für

GetContextInfo(PointF)

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ückgegeben wird, enthält das kumulative Offset. Dieser Parameter wird nicht initialisiert behandelt.

Attribute

Gilt für

GetContextInfo(PointF, Region)

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ückgegeben wird, enthält das kumulative Offset. Dieser Parameter wird nicht initialisiert behandelt.

clip
Region

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

Attribute

Gilt für