Margins.Equals Method (Object)

 
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.

Compares this Margins to the specified Object to determine whether they have the same dimensions.

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

public override bool Equals(
	object obj
)

Parameters

obj
Type: System.Object

The object to which to compare this Margins.

Return Value

Type: System.Boolean

true if the specified object is a Margins and has the same Top, Bottom, Right and Left values as this Margins; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: