Graphics.GetContextInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetContextInfo(PointF, Region) |
获取累积偏移量和剪辑区域。 |
GetContextInfo() |
已过时.
获取累积图形上下文。 |
GetContextInfo(PointF) |
获取累积偏移量。 |
GetContextInfo(PointF, Region)
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- 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
。 此参数被视为未初始化。
- 属性
适用于
GetContextInfo()
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
注意
Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.
获取累积图形上下文。
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
返回
表示累积图形上下文的 Object。
- 属性
注解
返回值是一个对象数组,其中第一个元素包含累积剪辑区域,第二个元素包含累积转换/转换矩阵。
适用于
GetContextInfo(PointF)
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- Graphics.cs
- Source:
- 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
此方法返回时,包含累积偏移量。 此参数被视为未初始化。
- 属性