Margins.Inequality Operator (Margins, Margins)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: