InkAnalyzerBase.CreateAnalysisHint - метод (Int32, Int32, Int32, Int32)
Обновлен: Ноябрь 2007
Adds a new ContextNodeBase that has a type of AnalysisHint with the specified area to the ink analyzer.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Function CreateAnalysisHint ( _
left As Integer, _
top As Integer, _
right As Integer, _
bottom As Integer _
) As ContextNodeBase
'Применение
Dim instance As InkAnalyzerBase
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim returnValue As ContextNodeBase
returnValue = instance.CreateAnalysisHint(left, _
top, right, bottom)
public ContextNodeBase CreateAnalysisHint(
int left,
int top,
int right,
int bottom
)
public:
ContextNodeBase^ CreateAnalysisHint(
int left,
int top,
int right,
int bottom
)
public ContextNodeBase CreateAnalysisHint(
int left,
int top,
int right,
int bottom
)
public function CreateAnalysisHint(
left : int,
top : int,
right : int,
bottom : int
) : ContextNodeBase
Параметры
- left
Тип: System.Int32
The x-coordinate of the left edge of the hint's location.
- top
Тип: System.Int32
The y-coordinate of the top edge of the hint's location.
- right
Тип: System.Int32
The x-coordinate of the right edge of the hint's location.
- bottom
Тип: System.Int32
The y-coordinate of the bottom edge of the hint's location.
Возвращаемое значение
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBase
The new ContextNodeBase added to the ink analyzer.
Заметки
The ink analyzer adds the new ContextNodeBase with a type of AnalysisHint as a subnode of the analyzer's RootNode.
Adding an analysis hint does not mark the hint's area for reanalysis. To mark the area within the hint for reanalysis, call the DirtyRegion object's Union method with the hint's Location.
If a hint is assigned an infinite area, termed a global hint, the ink analyzer applies the hint's context to all ink that is not within another hint's area. Multiple hints may be attached to a single analyzer. However, only one global hint can be attached to a single ink analyzer, and no non-global hints can overlap. For more information about the types of context information that a hint can provide, see AnalysisHintNode.
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0