Aracılığıyla paylaş


Graphics.GetContextInfo Yöntem

Tanım

Aşırı Yüklemeler

GetContextInfo(PointF, Region)

Kümülatif uzaklığı ve klip bölgesini alır.

GetContextInfo()
Geçersiz.

Kümülatif grafik bağlamını alır.

GetContextInfo(PointF)

Kümülatif uzaklığı alır.

GetContextInfo(PointF, Region)

Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs

Kümülatif uzaklığı ve klip bölgesini alır.

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)

Parametreler

offset
PointF

Bu yöntem döndürdüğünde, kümülatif uzaklığı içerir. Bu parametre başlatılmamış olarak değerlendirilir.

clip
Region

Bu yöntem döndürdüğünde, kümülatif küçük resim bölgesini veya küçük resim bölgesi sonsuzsa null içerir. Bu parametre başlatılmamış olarak değerlendirilir.

Öznitelikler

Şunlara uygulanır

GetContextInfo()

Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs

Dikkat

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

Kümülatif grafik bağlamını alır.

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

Döndürülenler

Kümülatif grafik bağlamını temsil eden bir Object.

Öznitelikler

Açıklamalar

Dönüş değeri, ilk öğenin kümülatif klip bölgesini, ikinci öğenin ise kümülatif çevirme/dönüştürme matrisini içerdiği bir nesne dizisidir.

Şunlara uygulanır

GetContextInfo(PointF)

Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs
Kaynak:
Graphics.cs

Kümülatif uzaklığı alır.

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)

Parametreler

offset
PointF

Bu yöntem döndürdüğünde, kümülatif uzaklığı içerir. Bu parametre başlatılmamış olarak değerlendirilir.

Öznitelikler

Şunlara uygulanır