SetMargin Method (Int32, Int32, Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the size of the current element's margin, using a specified width for each of the four sides of the element.
Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub SetMargin ( _
left As Integer, _
top As Integer, _
right As Integer, _
bottom As Integer _
)
public void SetMargin(
int left,
int top,
int right,
int bottom
)
public:
void SetMargin(
int left,
int top,
int right,
int bottom
)
member SetMargin :
left:int *
top:int *
right:int *
bottom:int -> unit
public function SetMargin(
left : int,
top : int,
right : int,
bottom : int
)
Parameters
- left
Type: System. . :: . .Int32
The width of the left margin.
- top
Type: System. . :: . .Int32
The width of the top margin.
- right
Type: System. . :: . .Int32
The width of the right margin.
- bottom
Type: System. . :: . .Int32
The width of the bottom margin.
.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.