AnalysisRegionBase.GetRegionScans 方法
返回定义 AnalysisRegionBase 的区域的矩形数组。
命名空间: System.Windows.Ink.AnalysisCore
程序集: IACore(在 IACore.dll 中)
语法
声明
Public Function GetRegionScans As Integer()
用法
Dim instance As AnalysisRegionBase
Dim returnValue As Integer()
returnValue = instance.GetRegionScans()
public int[] GetRegionScans()
public:
array<int>^ GetRegionScans()
public int[] GetRegionScans()
public function GetRegionScans() : int[]
返回值
类型:array<System.Int32[]
定义 AnalysisRegionBase 的区域的矩形数组。
备注
每个包含四个整数的序列以墨迹空间坐标描述矩形的 x 坐标、y 坐标、宽度和高度。(请注意,这与库中的其他返回类型不同。)
返回的矩形的并集表示 AnalysisRegionBase 的区域。
示例
此示例演示获取 AnalysisRegionBase (theFirstAnalysisRegionBase) 所表示的区域的两种方式。
' Get the area of the AnalysisRegionBase as an array of rectangles.
Dim theArea As Integer() = theFirstAnalysisRegionBase.GetRegionScans()
' Get the bounds of an AnalysisRegionBase.
Dim theBounds As Integer() = theFirstAnalysisRegionBase.GetBounds()
// Get the area of the AnalysisRegionBase as an array of rectangles.
int[] theArea =
theFirstAnalysisRegionBase.GetRegionScans();
// Get the bounds of an AnalysisRegionBase.
int[] theBounds = theFirstAnalysisRegionBase.GetBounds();
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0