Class Margins
Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)
Bu sınıf üst, sol, alt ve sağ kenar boşluklarını kapsar.
public class Margins
Miras
Miras Alınan Üyeler
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Yapıcılar
Margins(int, int, int, int)
Kenar boşluğu sınıfının bir örneğini başlatır.
public Margins(int top, int left, int bottom, int right)
Parametreler
top
int
Üst kenar boşluğu.
left
int
Sol kenar boşluğu.
bottom
int
Alt kenar boşluğu.
right
int
Sağ kenar boşluğu.
Alanlar
bottom
Alt kenar boşluğu.
public int bottom
Alan Değeri
left
Sol kenar boşluğu.
public int left
Alan Değeri
right
Sağ kenar boşluğu.
public int right
Alan Değeri
top
Üst kenar boşluğu.
public int top
Alan Değeri
Metodlar
Equals(object)
Bu kenar boşluklarını diğerleriyle karşılaştırır.
public override bool Equals(object obj)
Parametreler
obj
object
Başka bir kenar boşluğu nesnesi.
Dönüş Değeri
Tüm kenar boşlukları eşitse true döner.
GetHashCode()
Bu kenar boşluğu nesnesi için hash kodunu hesaplar.
public override int GetHashCode()
Dönüş Değeri
Bir hash kodu.
ToString()
Bu kenar boşluğu nesnesini temsil eden bir dize oluşturur.
public override string ToString()
Dönüş Değeri
Bu kenar boşluğu nesnesinin dize temsili.
set(int, int, int, int)
Kenar boşluğu değerlerini belirtir.
public void set(int top, int left, int bottom, int right)
Parametreler
top
int
Üst kenar boşluğu.
left
int
Sol kenar boşluğu.
bottom
int
Alt kenar boşluğu.
right
int
Sağ kenar boşluğu.