Graphics.GetContextInfo Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin