Margins Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應