Share via


Graphics.GetContextInfo Yöntem

Tanım

Aşırı Yüklemeler

GetContextInfo()
Geçersiz.

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

GetContextInfo(PointF)

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

GetContextInfo(PointF, Region)

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

GetContextInfo()

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();
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

Döndürülenler

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

Öznitelikler

Açıklamalar

Dönüş değeri, ilk öğenin kümülatif klip bölgesini ve ikinci öğenin kümülatif çeviri/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

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 kabul edilir.

Öznitelikler

Şunlara uygulanır

GetContextInfo(PointF, Region)

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 kabul edilir.

clip
Region

Bu yöntem döndürdüğünde, kümülatif klip bölgesini veya null küçük resim bölgesinin sonsuz olup olmadığını içerir. Bu parametre başlatılmamış olarak kabul edilir.

Öznitelikler

Şunlara uygulanır