Description
Gets or sets the padding surrounding the
Overlays
that are contained within this overlay. The array contains the
components of the padding arranged in the order left, top, right,
bottom.
Property type
Read-write property
Syntax
[Visual Basic .NET] |
Public Property Padding() As System.Array
|
[C#] |
public System.Array Padding {get; set;}
|
[Managed C++] |
public: __property System::Array^ get_Padding();
public: __property void set_Padding(
System::Array ^
);
|
[Unmanaged C++] |
public: HRESULT get_Padding(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_Padding(
SAFEARRAY * pNewPadding
);
|
[Java] |
public Object[] getPadding();public void setPadding(
Object[]
);
|
Example
Shows the format of
the overlay's Padding property.
[C#] |
Copy Code
|
Array padding = new object[]
{
10,
10,
10,
10
};
overlay.Padding = padding;
|
|
Shows the format of
the overlay's Padding property.
[Visual Basic .NET] |
Copy Code
|
Dim padding As
Array = New Object() {10, 10,
10, 10}
overlay.Padding = padding
|
|
See Also