Graphics.GetContextInfo Metodo

Definizione

Overload

GetContextInfo()
Obsoleti.

Ottiene il contesto grafico complessivo.

GetContextInfo(PointF)

Ottiene l'offset cumulativo.

GetContextInfo(PointF, Region)

Ottiene l'offset cumulativo e l'area clip.

GetContextInfo()

Origine:
Graphics.cs
Origine:
Graphics.cs
Origine:
Graphics.cs

Attenzione

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

Ottiene il contesto grafico complessivo.

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

Restituisce

Valore Object che rappresenta il contesto grafico complessivo.

Attributi

Commenti

Il valore restituito è una matrice di oggetti in cui il primo elemento contiene l'area di clip cumulativa e il secondo elemento contiene la matrice di conversione/trasformazione cumulativa.

Si applica a

GetContextInfo(PointF)

Origine:
Graphics.cs
Origine:
Graphics.cs
Origine:
Graphics.cs

Ottiene l'offset cumulativo.

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)

Parametri

offset
PointF

Quando questo metodo restituisce, contiene l'offset cumulativo. Questo parametro viene trattato come non inizializzato.

Attributi

Si applica a

GetContextInfo(PointF, Region)

Origine:
Graphics.cs
Origine:
Graphics.cs
Origine:
Graphics.cs

Ottiene l'offset cumulativo e l'area clip.

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)

Parametri

offset
PointF

Quando questo metodo restituisce, contiene l'offset cumulativo. Questo parametro viene trattato come non inizializzato.

clip
Region

Quando questo metodo restituisce, contiene l'area di clip cumulativa o null se l'area clip è infinita. Questo parametro viene trattato come non inizializzato.

Attributi

Si applica a