Margins Class
.NET Framework 4.5
Represents the margins for various chart elements.
Namespace: System.Windows.Forms.DataVisualization.Charting
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
The Margins type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Margins() | Initializes a new instance of the Margins class. |
![]() | Margins(Int32, Int32, Int32, Int32) | Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets the hash code for the Margins object. (Overrides Object.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsEmpty | Determines whether the margins are empty. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToRectangleF | Converts a Margins object to a RectangleF object. |
![]() | ToString | Converts a Margins object to its string representation. (Overrides Object.ToString().) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
