Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteInk

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Ink or handwriting content preserved from a OneNote page.

Inheritance

Constructors

public OneNoteInk() #

Methods

public string ToSvg(OfficeInkRenderOptions? options = null) #

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.

Properties

public override OneNoteElementKind Kind { get; } #

Logical content kind.

public OfficeInkDocument Ink { get; } #

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

public IReadOnlyList<OfficeInkStroke> Strokes { get; } #

Decoded strokes in paint order.