Graphics.GetContextInfo メソッド

定義

オーバーロード

GetContextInfo()
古い.

累積的なグラフィックス コンテキストを取得します。

GetContextInfo(PointF)

累積オフセットを取得します。

GetContextInfo(PointF, Region)

累積オフセットとクリップ領域を取得します。

GetContextInfo()

ソース:
Graphics.cs
ソース:
Graphics.cs
ソース:
Graphics.cs

注意事項

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

累積的なグラフィックス コンテキストを取得します。

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

戻り値

累積的なグラフィックス コンテキストを表す Object

属性

注釈

戻り値は、最初の要素が累積クリップ領域を含み、2 番目の要素に累積変換/変換行列が含まれるオブジェクト配列です。

適用対象

GetContextInfo(PointF)

ソース:
Graphics.cs
ソース:
Graphics.cs
ソース:
Graphics.cs

累積オフセットを取得します。

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)

パラメーター

offset
PointF

このメソッドが戻るとき、 には累積オフセットが含まれます。 このパラメーターは初期化前として処理されます。

属性

適用対象

GetContextInfo(PointF, Region)

ソース:
Graphics.cs
ソース:
Graphics.cs
ソース:
Graphics.cs

累積オフセットとクリップ領域を取得します。

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)

パラメーター

offset
PointF

このメソッドが戻るとき、 には累積オフセットが含まれます。 このパラメーターは初期化前として処理されます。

clip
Region

このメソッドが戻るとき、累積クリップ領域を格納するか、クリップ null 領域が無限である場合は を格納します。 このパラメーターは初期化前として処理されます。

属性

適用対象