InkCanvas Constructor (Int32, Int32, Int32, Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the InkCanvas class with a border of the specified width.
Namespace: Microsoft.SPOT.Ink
Assembly: Microsoft.SPOT.Ink (in Microsoft.SPOT.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
left As Integer, _
top As Integer, _
width As Integer, _
height As Integer, _
borderWidth As Integer _
)
public InkCanvas(
int left,
int top,
int width,
int height,
int borderWidth
)
public:
InkCanvas(
int left,
int top,
int width,
int height,
int borderWidth
)
new :
left:int *
top:int *
width:int *
height:int *
borderWidth:int -> InkCanvas
public function InkCanvas(
left : int,
top : int,
width : int,
height : int,
borderWidth : int
)
Parameters
- left
Type: System. . :: . .Int32
The horizontal offset, in pixels.
- top
Type: System. . :: . .Int32
The vertical offset, in pixels.
- width
Type: System. . :: . .Int32
The width of the InkCanvas object to be created, in pixels.
- height
Type: System. . :: . .Int32
The height of the InkCanvas object to be created, in pixels.
- borderWidth
Type: System. . :: . .Int32
The border width around the inking rectangle.
.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.