Margins Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the margins for various chart elements.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

System.Object
  System.Web.UI.DataVisualization.Charting.Margins

public class Margins

NameDescription
System_CAPS_pubmethodMargins()

Initializes a new instance of the Margins class.

System_CAPS_pubmethodMargins(Int32, Int32, Int32, Int32)

Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin.

NameDescription
System_CAPS_pubpropertyBottom

Gets or sets the bottom margin.

System_CAPS_pubpropertyLeft

Gets or sets the left margin.

System_CAPS_pubpropertyRight

Gets or sets the right margin.

System_CAPS_pubpropertyTop

Gets or sets the top margin.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code for the Margins object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsEmpty()

Determines whether the margins are empty.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToRectangleF()

Converts a Margins object to a RectangleF object.

System_CAPS_pubmethodToString()

Converts a Margins object to its string representation.(Overrides Object.ToString().)

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: