Graphics.GetContextInfo Metoda

Definice

Přetížení

GetContextInfo()
Zastaralé.

Získá kumulativní grafický kontext.

GetContextInfo(PointF)

Získá kumulativní posun.

GetContextInfo(PointF, Region)

Získá kumulativní posun a oblast klipu.

GetContextInfo()

Zdroj:
Graphics.cs
Zdroj:
Graphics.cs
Zdroj:
Graphics.cs

Upozornění

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

Získá kumulativní grafický kontext.

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

Návraty

Představuje Object kumulativní grafický kontext.

Atributy

Poznámky

Návratová hodnota je pole objektů, kde první prvek obsahuje kumulativní oblast klipu a druhý prvek obsahuje kumulativní matici překladu/transformace.

Platí pro

GetContextInfo(PointF)

Zdroj:
Graphics.cs
Zdroj:
Graphics.cs
Zdroj:
Graphics.cs

Získá kumulativní posun.

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

Když tato metoda vrátí, obsahuje kumulativní posun. Tento parametr je považován za neinicializovaný.

Atributy

Platí pro

GetContextInfo(PointF, Region)

Zdroj:
Graphics.cs
Zdroj:
Graphics.cs
Zdroj:
Graphics.cs

Získá kumulativní posun a oblast 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

Když tato metoda vrátí, obsahuje kumulativní posun. Tento parametr je považován za neinicializovaný.

clip
Region

Když se tato metoda vrátí, obsahuje kumulativní oblast klipu nebo null pokud je oblast klipu nekonečná. Tento parametr je považován za neinicializovaný.

Atributy

Platí pro