Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

HtmlRenderRectangle

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Base ValueType
Implements
IEquatable<HtmlRenderRectangle>
Modifiers sealed

Immutable axis-aligned rectangle in CSS-pixel coordinates.

Inheritance

  • ValueType
  • HtmlRenderRectangle

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public HtmlRenderRectangle(Double x, Double y, Double width, Double height) #

Creates a finite rectangle with non-negative dimensions.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
width System.Double requiredposition: 2
height System.Double requiredposition: 3

Methods

public Boolean Contains(HtmlRenderPoint point) #
Returns: Boolean

Returns whether the point lies in the closed rectangle.

Parameters

point OfficeIMO.Html.HtmlRenderPoint requiredposition: 0
Equals 2 overloads
public Boolean Equals(HtmlRenderRectangle other) #
Returns: Boolean

Indicates whether the current object is equal to another object of the same type.

Parameters

other OfficeIMO.Html.HtmlRenderRectangle requiredposition: 0
An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

public override Boolean Equals(Object obj) #
Returns: Boolean

Indicates whether this instance and a specified object are equal.

Parameters

obj System.Object requiredposition: 0
The object to compare with the current instance.

Returns

true if obj and this instance are the same type and represent the same value; otherwise, false.

public override Int32 GetHashCode() #
Returns: Int32

Returns the hash code for this instance.

Returns

A 32-bit signed integer that is the hash code for this instance.

public Boolean Intersects(HtmlRenderRectangle other) #
Returns: Boolean

Returns whether this rectangle overlaps another rectangle.

Parameters

other OfficeIMO.Html.HtmlRenderRectangle requiredposition: 0
public static Boolean op_Equality(HtmlRenderRectangle left, HtmlRenderRectangle right) #
Returns: Boolean

Compares two rectangles.

Parameters

left OfficeIMO.Html.HtmlRenderRectangle requiredposition: 0
right OfficeIMO.Html.HtmlRenderRectangle requiredposition: 1
public static Boolean op_Inequality(HtmlRenderRectangle left, HtmlRenderRectangle right) #
Returns: Boolean

Compares two rectangles.

Parameters

left OfficeIMO.Html.HtmlRenderRectangle requiredposition: 0
right OfficeIMO.Html.HtmlRenderRectangle requiredposition: 1

Properties