InkCollector.GetWindowInputRectangle - метод
Обновлен: Ноябрь 2007
Gets the window rectangle, in pixels, within which ink is drawn.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public Sub GetWindowInputRectangle ( _
<OutAttribute> ByRef windowInputRectangle As Rectangle _
)
'Применение
Dim instance As InkCollector
Dim windowInputRectangle As Rectangle
instance.GetWindowInputRectangle(windowInputRectangle)
public void GetWindowInputRectangle(
out Rectangle windowInputRectangle
)
public:
void GetWindowInputRectangle(
[OutAttribute] Rectangle% windowInputRectangle
)
public void GetWindowInputRectangle(
/** @attribute OutAttribute */ /** @ref */Rectangle windowInputRectangle
)
public function GetWindowInputRectangle(
windowInputRectangle : Rectangle
)
Параметры
- windowInputRectangle
Тип: System.Drawing.Rectangle%
The rectangle in which ink is drawn.
Заметки
By default, the window input rectangle is set to {0,0,0,0}. This default rectangle maps to the size of the entire window.
If you call GetWindowInputRectangle before you call SetWindowInputRectangle, this method gets a rectangle with the default coordinates.
Примеры
This C# example gets the window input rectangle of a new InkCollector object, theInkCollector, which defaults to {0,0,0,0}.
using Microsoft.Ink;
//...
InkCollector theInkCollector = new InkCollector();
Rectangle theRect;
theInkCollector.GetWindowInputRectangle(out theRect);
This Microsoft Visual Basic .NET example gets the window input rectangle of a new InkCollector object, theInkCollector, which defaults to {0,0,0,0}.
Imports Microsoft.Ink
'...
Dim theInkCollector as New InkCollector()
Dim theRect as Rectangle
theInkCollector.GetWindowInputRectangle(theRect)
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0