Margins.Inequality Operator (Margins, Margins)

 
equivalentCodeEntityM:System.Drawing.Printing.Margins.Equals(System.Object)

Compares two Margins to determine whether they are of unequal width.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public static bool operator !=(
	Margins m1,
	Margins m2
)

Parameters

m1
Type: System.Drawing.Printing.Margins

The first Margins to compare for inequality.

m2
Type: System.Drawing.Printing.Margins

The second Margins to compare for inequality.

Return Value

Type: System.Boolean

true to indicate if the Left, Right, Top, or Bottom properties of both margins are not equal; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: