Class Margins

Class Margins

Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)

このクラスは、上、左、下、右のマージンをカプセル化します。

public class Margins

継承

objectMargins

継承されたメンバー

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

コンストラクタ

Margins(int, int, int, int)

Marginクラスのインスタンスを初期化します。

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

パラメータ

top int

上のマージン。

left int

左のマージン。

bottom int

下のマージン。

right int

右のマージン。

フィールド

bottom

下のマージン。

public int bottom

フィールド値

int

left

左のマージン。

public int left

フィールド値

int

right

右のマージン。

public int right

フィールド値

int

top

上のマージン。

public int top

フィールド値

int

メソッド

Equals(object)

このマージンを他のものと比較します。

public override bool Equals(object obj)

パラメータ

obj object

別のマージンオブジェクト。

戻り値

bool

すべてのマージンが等しい場合は真。

GetHashCode()

このマージンオブジェクトのハッシュコードを計算します。

public override int GetHashCode()

戻り値

int

ハッシュコード。

ToString()

このマージンオブジェクトを表す文字列を作成します。

public override string ToString()

戻り値

string

このマージンオブジェクトの文字列表現。

set(int, int, int, int)

マージンの値を指定します。

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

パラメータ

top int

上のマージン。

left int

左のマージン。

bottom int

下のマージン。

right int

右のマージン。

 日本語