# OdfMarkerGeometry

Immutable native marker geometry, shared by all shapes referencing a named marker.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OdfMarkerGeometry.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfMarkerGeometry.cs#L8)

**Modifiers**

sealed

Immutable native marker geometry, shared by all shapes referencing a named marker.

## Inheritance

- object
- OdfMarkerGeometry

## 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 1

- Property [OdfMarker.Geometry](/api/open-document/officeimo-opendocument-odfmarker/#property-geometry)

### Accepted by parameters 1

- Method [OdfStyleRepository.CreateMarker](/api/open-document/officeimo-opendocument-odfstylerepository/#method-createmarker-string-officeimo-opendocument-odfmarkergeometry) parameter `geometry`

Filter members 

Show inherited

## Constructors

OdfMarkerGeometry 2 overloads

`public OdfMarkerGeometry(OdfViewBox viewBox, string pathData)` [#](#constructor-ctor-officeimo-opendocument-odfviewbox-string)

[OdfMarkerGeometry.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfMarkerGeometry.cs#L8)

Creates bounded SVG path geometry. Its actual geometry bounds determine marker sizing and alignment.

Parameters

**viewBox OfficeIMO.OpenDocument.OdfViewBox required**

**pathData string required**

`public OdfMarkerGeometry(string viewBox, string pathData)` [#](#constructor-ctor-string-string)

[OdfMarkerGeometry.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfMarkerGeometry.cs#L10)

Creates marker geometry with a native four-number view box, including decimal producer coordinates.

Parameters

**viewBox string required**

**pathData string required**

## 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 string ViewBox { get; }` [#](#property-viewbox)

[OdfMarkerGeometry.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfMarkerGeometry.cs#L20)

Native SVG coordinate canvas. Creating or replacing a definition normalizes it to enclosing integer coordinates.

`public string PathData { get; }` [#](#property-pathdata)

[OdfMarkerGeometry.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfMarkerGeometry.cs#L22)

Original bounded path notation; curves and multiple contours are retained.

<!-- PowerForge markdown artifact sha256:56424DDC3BFA691A108C7D88F45638BE3C4F40393CAD5D59E9F6266E6DAB0AE7 -->
