Compartir a través de


Graphics.GetContextInfo Método

Definición

Sobrecargas

GetContextInfo(PointF, Region)

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

GetContextInfo()
Obsoletos.

Obtiene el contexto de gráficos acumulados.

GetContextInfo(PointF)

Obtiene el desplazamiento acumulado.

GetContextInfo(PointF, Region)

Source:
Graphics.cs
Source:
Graphics.cs
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 devuelve, contiene el desplazamiento acumulado. Este parámetro se trata como sin inicializar.

clip
Region

Cuando este método devuelve, 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

GetContextInfo()

Source:
Graphics.cs
Source:
Graphics.cs
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 gráficos acumulados.

public:
 System::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 ();
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")>]
member this.GetContextInfo : unit -> obj
member this.GetContextInfo : unit -> obj
Public Function GetContextInfo () As Object

Devoluciones

Un Object que representa el contexto de gráficos acumulados.

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 de traducción y transformación.

Se aplica a

GetContextInfo(PointF)

Source:
Graphics.cs
Source:
Graphics.cs
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 devuelve, contiene el desplazamiento acumulado. Este parámetro se trata como sin inicializar.

Atributos

Se aplica a