Modifier

Partager via


Margins Class

Definition

Represents the margins for various chart elements.

public ref class Margins
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.MarginExpandableObjectConverter))]
public class Margins
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.MarginExpandableObjectConverter))>]
type Margins = class
Public Class Margins
Inheritance
Margins
Attributes

Constructors

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.

Properties

Bottom

Gets or sets the bottom margin.

Left

Gets or sets the left margin.

Right

Gets or sets the right margin.

Top

Gets or sets the top margin.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Gets the hash code for the Margins object.

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.

Applies to