Graphics.GetContextInfo Metoda

Definicja

Przeciążenia

GetContextInfo()
Przestarzałe.

Pobiera skumulowany kontekst graficzny.

GetContextInfo(PointF)

Pobiera przesunięcie skumulowane.

GetContextInfo(PointF, Region)

Pobiera skumulowane przesunięcie i region klipu.

GetContextInfo()

Źródło:
Graphics.cs
Źródło:
Graphics.cs
Źródło:
Graphics.cs

Przestroga

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

Pobiera skumulowany kontekst graficzny.

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

Zwraca

Reprezentujący Object skumulowany kontekst graficzny.

Atrybuty

Uwagi

Zwracana wartość to tablica obiektów, w której pierwszy element zawiera skumulowany region wycinków, a drugi element zawiera macierz skumulowanego tłumaczenia/przekształcania.

Dotyczy

GetContextInfo(PointF)

Źródło:
Graphics.cs
Źródło:
Graphics.cs
Źródło:
Graphics.cs

Pobiera przesunięcie skumulowane.

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)

Parametry

offset
PointF

Gdy ta metoda zwraca wartość , zawiera przesunięcie skumulowane. Ten parametr jest traktowany jako niezainicjowany.

Atrybuty

Dotyczy

GetContextInfo(PointF, Region)

Źródło:
Graphics.cs
Źródło:
Graphics.cs
Źródło:
Graphics.cs

Pobiera skumulowane przesunięcie i region klipu.

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)

Parametry

offset
PointF

Gdy ta metoda zwraca wartość , zawiera przesunięcie skumulowane. Ten parametr jest traktowany jako niezainicjowany.

clip
Region

Gdy ta metoda zwraca wartość , zawiera region klipu skumulowanego lub null jeśli region klipu jest nieskończony. Ten parametr jest traktowany jako niezainicjowany.

Atrybuty

Dotyczy