# HtmlRenderSourcePlacement

Placement of one source surface or source slice in a retained output surface.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

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

**Modifiers**

sealed

Placement of one source surface or source slice in a retained output surface.

## Inheritance

- object
- HtmlRenderSourcePlacement

## Usage

Explore 2 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 2

- Property [HtmlRenderArchivePage.SourcePlacements](/api/html/officeimo-html-htmlrenderarchivepage/#property-sourceplacements)
- Property [HtmlRenderSurfaceResult.SourcePlacements](/api/html/officeimo-html-htmlrendersurfaceresult/#property-sourceplacements)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public int SourcePageNumber { get; }` [#](#property-sourcepagenumber)

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

One-based source page number.

`public double SourceOffsetX { get; }` [#](#property-sourceoffsetx)

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

Horizontal origin within the source page or continuous canvas.

`public double SourceOffsetY { get; }` [#](#property-sourceoffsety)

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

Vertical origin within the source page or continuous canvas.

`public double Width { get; }` [#](#property-width)

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

Placed width in CSS pixels.

`public double Height { get; }` [#](#property-height)

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

Placed height in CSS pixels.

`public double OutputOffsetX { get; }` [#](#property-outputoffsetx)

[HtmlRenderResult.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderResult.cs#L31)

Horizontal origin in the output surface.

`public double OutputOffsetY { get; }` [#](#property-outputoffsety)

[HtmlRenderResult.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderResult.cs#L33)

Vertical origin in the output surface.

`public bool IsClipped { get; }` [#](#property-isclipped)

[HtmlRenderResult.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderResult.cs#L35)

Whether the source contribution was clipped.

`public HtmlRenderRectangle SourceBounds { get; }` [#](#property-sourcebounds)

[HtmlRenderResult.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderResult.cs#L37)

Source rectangle contributing to the output surface.

`public HtmlRenderRectangle OutputBounds { get; }` [#](#property-outputbounds)

[HtmlRenderResult.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderResult.cs#L39)

Rectangle occupied by the contribution in the output surface.

<!-- PowerForge markdown artifact sha256:0863612F5AABED915F4047681F41E7C32044D695AB59CA6B51C9E96AE1814EF6 -->
