Graphics.GetContextInfo Método

Definición

Sobrecargas

GetContextInfo()
Obsoletos.

Obtiene el contexto de los gráficos acumulativos.

GetContextInfo(PointF)

Obtiene el desplazamiento acumulado.

GetContextInfo(PointF, Region)

Obtiene el desplazamiento acumulado y la región de recorte.

GetContextInfo()

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

Precaución

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

Obtiene el contexto de los gráficos acumulativos.

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

Devoluciones

Object que representa el contexto de los gráficos acumulativos.

Atributos

Comentarios

El valor devuelto es una matriz de objetos donde el primer elemento contiene la región de clip acumulativa y el segundo elemento contiene la matriz acumulativa translate/transform.

Se aplica a

GetContextInfo(PointF)

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

Obtiene el desplazamiento acumulado.

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)

Parámetros

offset
PointF

Cuando este método vuelve, contiene el desplazamiento acumulado. Este parámetro se trata como sin inicializar.

Atributos

Se aplica a

GetContextInfo(PointF, Region)

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

Obtiene el desplazamiento acumulado y la región de recorte.

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)

Parámetros

offset
PointF

Cuando este método vuelve, contiene el desplazamiento acumulado. Este parámetro se trata como sin inicializar.

clip
Region

Cuando este método vuelve, contiene la región de clip acumulativa o null si la región del clip es infinita. Este parámetro se trata como sin inicializar.

Atributos

Se aplica a