Szerkesztés

Megosztás a következőn keresztül:


Margins.Equality(Margins, Margins) Operator

Definition

Compares two Margins to determine if they have the same dimensions.

public:
 static bool operator ==(System::Drawing::Printing::Margins ^ m1, System::Drawing::Printing::Margins ^ m2);
public static bool operator == (System.Drawing.Printing.Margins? m1, System.Drawing.Printing.Margins? m2);
public static bool operator == (System.Drawing.Printing.Margins m1, System.Drawing.Printing.Margins m2);
static member ( = ) : System.Drawing.Printing.Margins * System.Drawing.Printing.Margins -> bool
Public Shared Operator == (m1 As Margins, m2 As Margins) As Boolean

Parameters

m1
Margins

The first Margins to compare for equality.

m2
Margins

The second Margins to compare for equality.

Returns

true to indicate the Left, Right, Top, and Bottom properties of both margins have the same value; otherwise, false.

Remarks

The equivalent method for this operator is Margins.Equals(Object)

Applies to