Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equals Method
Collapse the table of content
Expand the table of content

Margins.Equals Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft