# HtmlRenderPoint

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

Struct 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlRenderGeometry.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L9)

**Base**

`ValueType`

**Implements**

`IEquatable<HtmlRenderPoint>`

**Modifiers**

sealed

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

## Inheritance

- ValueType
- HtmlRenderPoint

## Usage

Explore 13 API references to this type

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

### Returned or exposed by 3

- Property [HtmlRenderHitTestResult.Point](/api/html/officeimo-html-htmlrenderhittestresult/#property-point)
- Property [HtmlRenderSourcePoint.OutputPoint](/api/html/officeimo-html-htmlrendersourcepoint/#property-outputpoint)
- Property [HtmlRenderSourcePoint.SourcePoint](/api/html/officeimo-html-htmlrendersourcepoint/#property-sourcepoint)

### Accepted by parameters 10

- Method [HtmlRenderPoint.Equals](/api/html/officeimo-html-htmlrenderpoint/#method-equals-officeimo-html-htmlrenderpoint) parameter `other`
- Method [HtmlRenderPoint.op_Equality](/api/html/officeimo-html-htmlrenderpoint/#method-op-equality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint) parameter `left`
- Method [HtmlRenderPoint.op_Equality](/api/html/officeimo-html-htmlrenderpoint/#method-op-equality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint) parameter `right`
- Method [HtmlRenderPoint.op_Inequality](/api/html/officeimo-html-htmlrenderpoint/#method-op-inequality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint) parameter `left`
- Method [HtmlRenderPoint.op_Inequality](/api/html/officeimo-html-htmlrenderpoint/#method-op-inequality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint) parameter `right`
- Method [HtmlRenderRectangle.Contains](/api/html/officeimo-html-htmlrenderrectangle/#method-contains-officeimo-html-htmlrenderpoint) parameter `point`
- Method [HtmlRenderSurface.HitTest](/api/html/officeimo-html-htmlrendersurface/#method-hittest-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderhittestoptions-threading-cancellationtoken) parameter `point`
- Method [HtmlRenderSurface.HitTestTopmost](/api/html/officeimo-html-htmlrendersurface/#method-hittesttopmost-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderhittestoptions-threading-cancellationtoken) parameter `point`
- Method [HtmlRenderSurface.TryMapToSource](/api/html/officeimo-html-htmlrendersurface/#method-trymaptosource-officeimo-html-htmlrenderpoint-officeimo-html-htmlrendersourcepoint) parameter `outputPoint`
- Method [HtmlRenderSurfaceResult.TryMapToSource](/api/html/officeimo-html-htmlrendersurfaceresult/#method-trymaptosource-officeimo-html-htmlrenderpoint-officeimo-html-htmlrendersourcepoint) parameter `outputPoint`

Filter members 

Show inherited

## Constructors

`public HtmlRenderPoint(double x, double y)` [#](#constructor-ctor-double-double)

[HtmlRenderGeometry.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L9)

Creates a finite point.

Parameters

**x double required**

**y double required**

## Methods

Equals 2 overloads

`public bool Equals(HtmlRenderPoint other)` [#](#method-equals-officeimo-html-htmlrenderpoint)

[HtmlRenderGeometry.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L21)

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

Parameters

**other OfficeIMO.Html.HtmlRenderPoint required**

An object to compare with this object.

Returns

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

`public override bool Equals(object? obj)` [#](#method-equals-object)

[HtmlRenderGeometry.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L23)

Indicates whether this instance and a specified object are equal.

Parameters

**obj object? required**

The object to compare with the current instance.

Returns

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

`public override int GetHashCode()` [#](#method-gethashcode)

[HtmlRenderGeometry.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L25)

Returns the hash code for this instance.

Returns

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

`public static bool op_Equality(HtmlRenderPoint left, HtmlRenderPoint right)` [#](#method-op-equality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint)

[HtmlRenderGeometry.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L27)

Compares two points.

Parameters

**left OfficeIMO.Html.HtmlRenderPoint required**

**right OfficeIMO.Html.HtmlRenderPoint required**

Returns

`bool`

`public static bool op_Inequality(HtmlRenderPoint left, HtmlRenderPoint right)` [#](#method-op-inequality-officeimo-html-htmlrenderpoint-officeimo-html-htmlrenderpoint)

[HtmlRenderGeometry.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L29)

Compares two points.

Parameters

**left OfficeIMO.Html.HtmlRenderPoint required**

**right OfficeIMO.Html.HtmlRenderPoint required**

Returns

`bool`

## Inherited Methods

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public override string? ToString()` [#](#method-tostring)

Inherited from ValueType

Returns

`string?`

## Properties

`public double X { get; }` [#](#property-x)

[HtmlRenderGeometry.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L16)

Horizontal coordinate in CSS pixels.

`public double Y { get; }` [#](#property-y)

[HtmlRenderGeometry.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderGeometry.cs#L18)

Vertical coordinate in CSS pixels.

<!-- PowerForge markdown artifact sha256:81FA2B5590D83567FC513C4C7F20B18879A7E811AE9B638C73B034EBAE9E7F15 -->
