Struct Margins

Struct Margins

Nazwa przestrzeń: Aspose.Note Zgromadzenie: Aspose.Note.dll (25.4.0)

Określa rozmiary marginesów węzła.

public struct Margins : IEquatable<margins>

Implements

IEquatable

Dziedziczeni członkowie

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

Constructors

Margins(float, float, float, float)

Inicjalizuje nową instancję Aspose.Note.Margins strukturyz wyznaczonymi lewą, prawną, górną i dolną marginesami.

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

Parameters

left float

Lewy margines szerokości.

right float

prawą szerokość marży.

top float

Najwyższa szerokość marży.

bottom float

Głębokość dolnej marży.

Fields

Empty

Puste marże są.

public static readonly Margins Empty

Wartość pola

Margins

Properties

Bottom

Zyskuje lub ustawia dolną szerokość marży.

public float Bottom { readonly get; set; }

Wartość nieruchomości

float

Left

Zostaw lub ustaw lewą szerokość marży.

public float Left { readonly get; set; }

Wartość nieruchomości

float

Right

Uzyskuje lub ustawia właściwą szerokość marży.

public float Right { readonly get; set; }

Wartość nieruchomości

float

Top

Otrzymuje lub ustawia górną szerokość marży.

public float Top { readonly get; set; }

Wartość nieruchomości

float

Methods

Equals(Margins)

Sprawdź, czy dwie struktury marginesowe są równe.

public bool Equals(Margins other)

Parameters

other Margins

Struktura marginesów.

Returns

bool

To jest system. boolean.

Equals(Obiekt)

Sprawdź, czy dwie struktury marginesowe są równe.

public override bool Equals(object obj)

Parameters

obj object

wszelkich obiektów.

Returns

bool

To jest system. boolean.

GetHashCode()

Służy jako funkcja hash dla tego typu.

public override int GetHashCode()

Returns

int

Występuje w systemie Int32.

Operators

Operator =(Margins, Marginów)

Sprawdź, czy dwie struktury marginesowe są równe.

public static bool operator ==(Margins lhs, Margins rhs)

Parameters

lhs Margins

Struktura marginesów.

rhs Margins

Struktura marginesów należy porównać z.

Returns

bool

To jest system. boolean.

Operator !=(Margins, Marginów)

Sprawdź, czy dwie struktury marginesowe nie są równe.

public static bool operator !=(Margins lhs, Margins rhs)

Parameters

lhs Margins

Struktura marginesów.

rhs Margins

Struktura marginesów należy porównać z.

Returns

bool

To jest system. boolean.

 Polski