Class Margins

Class Margins

名称: Aspose.Page 集合: Aspose.Page.dll (25.4.0)

此类包含上、左、底和右边边界。

public class Margins

Inheritance

object Margins

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Margins(int , int , int , int , int)

启动一个例子的边缘阶级。

public Margins(int top, int left, int bottom, int right)

Parameters

top int

顶级边界

left int

左边边。

bottom int

底边。

right int

正确的边界

Fields

底部

底边。

public int bottom

领域价值

int

左边边。

public int left

领域价值

int

正确的

正确的边界

public int right

领域价值

int

顶部

顶级边界

public int top

领域价值

int

Methods

Equals(对象)

将这个边界与其他边界进行比较。

public override bool Equals(object obj)

Parameters

obj object

另一个边缘对象。

Returns

bool

如果所有边界都是平等的。

GetHashCode()

计算这个边缘对象的哈什代码。

public override int GetHashCode()

Returns

int

一个Hashcode。

ToString()

创建一个符串代表这个边缘对象。

public override string ToString()

Returns

string

这是这个边缘对象的序列代表。

设置(int , int , int , int , int)

定义边界值。

public void set(int top, int left, int bottom, int right)

Parameters

top int

顶级边界

left int

左边边。

bottom int

底边。

right int

正确的边界

 中文