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