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
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
left
Lewe margines.
public int left
Wartość pola
right
Prawy margines.
public int right
Wartość pola
top
Górny margines.
public int top
Wartość pola
Metody
Equals(object)
Porównuje te marginesy z innymi.
public override bool Equals(object obj)
Parametry
obj
object
Inny obiekt marginesów.
Zwraca
Prawda, jeśli wszystkie marginesy są równe.
GetHashCode()
Oblicza kod haszujący dla tego obiektu marginesów.
public override int GetHashCode()
Zwraca
Kod haszujący.
ToString()
Tworzy ciąg reprezentujący ten obiekt marginesów.
public override string ToString()
Zwraca
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.