Struct Margins

Struct Margins

Il nome: Aspose.Note Assemblea: Aspose.Note.dll (25.4.0)

Determinare le dimensioni dei margini di un nodo.

public struct Margins : IEquatable<margins>

Implements

IEquatable

I membri ereditari

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

Constructors

Margins(La flotta, la flotta, la flotta)

Inizializza una nuova instanza del Aspose.Note.Margins structcon i margini di sinistra, destra, superiore e inferiore specificati.

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

Parameters

left float

La larghezza di margine sinistra.

right float

La larghezza di margine giusta.

top float

La larghezza di margine superiore.

bottom float

La larghezza di margine inferiore.

Fields

Empty

I margini vuoti.

public static readonly Margins Empty

Valore di campo

Margins

Properties

Bottom

Ottenere o impostare la larghezza di margine inferiore.

public float Bottom { readonly get; set; }

Valore di proprietà

float

Left

Ottenere o impostare la larghezza di margine sinistra.

public float Left { readonly get; set; }

Valore di proprietà

float

Right

Ottenere o impostare la giusta larghezza di margine.

public float Right { readonly get; set; }

Valore di proprietà

float

Top

Ottenere o impostare la larghezza di margine superiore.

public float Top { readonly get; set; }

Valore di proprietà

float

Methods

Equals(Margins)

Testare se le due strutture di margine sono uguali.

public bool Equals(Margins other)

Parameters

other Margins

La struttura dei margini.

Returns

bool

Il sistema.Boolean

Equals(oggetto)

Testare se le due strutture di margine sono uguali.

public override bool Equals(object obj)

Parameters

obj object

qualsiasi oggetto.

Returns

bool

Il sistema.Boolean

GetHashCode()

Servisce come funzione hash per il tipo.

public override int GetHashCode()

Returns

int

Il sistema.Int32.

Operators

Operatore =(Margherita e Marginita)

Testare se le due strutture di margine sono uguali.

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

Parameters

lhs Margins

La struttura dei margini.

rhs Margins

La struttura dei margini da confrontare con.

Returns

bool

Il sistema.Boolean

Operatore !=(Margherita e Marginita)

Testare se le due strutture di margine non sono uguali.

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

Parameters

lhs Margins

La struttura dei margini.

rhs Margins

La struttura dei margini da confrontare con.

Returns

bool

Il sistema.Boolean

 Italiano