Margins 类
定义
表示各种图表元素的边距。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
- 继承
-
Margins
- 属性
构造函数
| Margins() |
初始化 Margins 类的新实例。Initializes a new instance of the Margins class. |
| Margins(Int32, Int32, Int32, Int32) |
使用指定的上边距坐标、下边距坐标、左边距坐标和右边距坐标初始化 Margins 类的新实例。Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin. |
属性
| 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. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. |
| GetHashCode() |
获取 Margins 对象的哈希代码。Gets the hash code for the Margins object. |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| IsEmpty() |
确定边距是否为空。Determines whether the margins are empty. |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToRectangleF() |
将 Margins 对象转换为 RectangleF 对象。Converts a Margins object to a RectangleF object. |
| ToString() |
将 Margins 对象转换为其 |