Class Margins

Class Margins

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

Ta klasa enkapsuluje górne, lewe, dolne i prawe marginesy.

public class Margins

Dziedziczenie

objectMargins

Członkowie dziedziczeni

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

Konstruktory

Margins(int, int, int, int)

Inicjalizuje instancję klasy Margins.

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

Parametry

top int

Górny margines.

left int

Lewe margines.

bottom int

Dolny margines.

right int

Prawy margines.

Pola

bottom

Dolny margines.

public int bottom

Wartość pola

int

left

Lewe margines.

public int left

Wartość pola

int

right

Prawy margines.

public int right

Wartość pola

int

top

Górny margines.

public int top

Wartość pola

int

Metody

Equals(object)

Porównuje te marginesy z innymi.

public override bool Equals(object obj)

Parametry

obj object

Inny obiekt marginesów.

Zwraca

bool

Prawda, jeśli wszystkie marginesy są równe.

GetHashCode()

Oblicza kod haszujący dla tego obiektu marginesów.

public override int GetHashCode()

Zwraca

int

Kod haszujący.

ToString()

Tworzy ciąg reprezentujący ten obiekt marginesów.

public override string ToString()

Zwraca

string

Reprezentacja ciągu tego obiektu marginesów.

set(int, int, int, int)

Określa wartości marginesów.

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

Parametry

top int

Górny margines.

left int

Lewe margines.

bottom int

Dolny margines.

right int

Prawy margines.

 Polski