Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines attributes of the inking region.
Namespace: Microsoft.SPOT.Touch
Assembly: Microsoft.SPOT.Touch (in Microsoft.SPOT.Touch.dll)
Syntax
'Declaration
Public Shared Sub SetInkRegion ( _
flags As UInteger, _
x1 As Integer, _
y1 As Integer, _
x2 As Integer, _
y2 As Integer, _
borderWidth As Integer, _
color As Integer, _
penWidth As Integer, _
bitmap As Bitmap _
)
public static void SetInkRegion(
uint flags,
int x1,
int y1,
int x2,
int y2,
int borderWidth,
int color,
int penWidth,
Bitmap bitmap
)
public:
static void SetInkRegion(
unsigned int flags,
int x1,
int y1,
int x2,
int y2,
int borderWidth,
int color,
int penWidth,
Bitmap^ bitmap
)
static member SetInkRegion :
flags:uint32 *
x1:int *
y1:int *
x2:int *
y2:int *
borderWidth:int *
color:int *
penWidth:int *
bitmap:Bitmap -> unit
public static function SetInkRegion(
flags : uint,
x1 : int,
y1 : int,
x2 : int,
y2 : int,
borderWidth : int,
color : int,
penWidth : int,
bitmap : Bitmap
)
Parameters
- flags
Type: System. . :: . .UInt32
Not used; you can specify 0.
- x1
Type: System. . :: . .Int32
The X-axis position of the upper left corner of the drawing area.
- y1
Type: System. . :: . .Int32
The Y-axis position of the upper left corner of the drawing area.
- x2
Type: System. . :: . .Int32
The X-axis position of the bottom right corner of the drawing area.
- y2
Type: System. . :: . .Int32
The Y-axis position of the bottom right corner of the drawing area.
- borderWidth
Type: System. . :: . .Int32
The border width around the inking rectangle.
- color
Type: System. . :: . .Int32
The color to draw with.
- penWidth
Type: System. . :: . .Int32
The width of the line to draw.
- bitmap
Type: Microsoft.SPOT. . :: . .Bitmap
The bitmap to save the ink in.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.