# OneNoteInk

Ink or handwriting content preserved from a OneNote page.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteBinaryContent.cs:196](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L196)

**Base**

`OneNoteBinaryElement`

**Modifiers**

sealed

Ink or handwriting content preserved from a OneNote page.

## Inheritance

- [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)
- [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)
- OneNoteInk

Filter members 

Show inherited

## Constructors

`public OneNoteInk()` [#](#constructor-ctor)

[OneNoteBinaryContent.cs:196](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L196)

## Methods

`public string ToSvg(OfficeInkRenderOptions? options = null)` [#](#method-tosvg-officeimo-drawing-officeinkrenderoptions)

[OneNoteBinaryContent.cs:222](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L222)

Renders the strokes to a standalone SVG document cropped to the ink bounds, measured in points. Stroke color, width, pen tip, pressure, and highlighter transparency are kept.

Parameters

**options OfficeIMO.Drawing.OfficeInkRenderOptions? = null optional**

Optional ink rendering settings.

Returns

`string` SVG markup, or an empty SVG document when the ink has no strokes.

## 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 override OneNoteElementKind Kind { get; }` [#](#property-kind)

[OneNoteBinaryContent.cs:207](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L207)

Logical content kind.

`public OfficeInkDocument Ink { get; }` [#](#property-ink)

[OneNoteBinaryContent.cs:210](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L210)

Decoded, editable strokes in the reusable Drawing-owned ink model.

`public IReadOnlyList<OfficeInkStroke> Strokes { get; }` [#](#property-strokes)

[OneNoteBinaryContent.cs:213](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L213)

Decoded strokes in paint order.

## Inherited Properties

`public string? FileName { get; set; }` [#](#property-filename)

[OneNoteBinaryContent.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L113)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public string? MediaType { get; set; }` [#](#property-mediatype)

[OneNoteBinaryContent.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L116)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public OneNoteBinaryPayload? Payload { get; set; }` [#](#property-payload)

[OneNoteBinaryContent.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L119)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public OneNoteExtendedGuid? Id { get; set; }` [#](#property-id)

[OneNoteContent.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L32)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteLayout? Layout { get; set; }` [#](#property-layout)

[OneNoteContent.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L38)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteAuthor? Author { get; set; }` [#](#property-author)

[OneNoteContent.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L41)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteTag> Tags { get; }` [#](#property-tags)

[OneNoteContent.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L44)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteOpaqueProperty> UnknownProperties { get; }` [#](#property-unknownproperties)

[OneNoteContent.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L47)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

<!-- PowerForge markdown artifact sha256:2633BC9CB8B1EF829E593F363BA55023B0DA01E9231AB5AD700F8C8D283FC273 -->
