Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

HtmlRenderPoint

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

Immutable point in an HTML render surface's CSS-pixel coordinate space.

Inheritance

  • ValueType
  • HtmlRenderPoint

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 HtmlRenderPoint(Double x, Double y) #

Creates a finite point.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1

Methods

Equals 2 overloads
public Boolean Equals(HtmlRenderPoint other) #
Returns: Boolean

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

Parameters

other OfficeIMO.Html.HtmlRenderPoint 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 static Boolean op_Equality(HtmlRenderPoint left, HtmlRenderPoint right) #
Returns: Boolean

Compares two points.

Parameters

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

Compares two points.

Parameters

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

Properties

public Double X { get; } #

Horizontal coordinate in CSS pixels.

public Double Y { get; } #

Vertical coordinate in CSS pixels.