Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeInkDocument

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

A reusable collection of ink strokes in one canvas coordinate system.

Inheritance

  • Object
  • OfficeInkDocument

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public OfficeInkDocument() #

Creates an empty ink document.

Methods

public OfficeInkDocument Add(OfficeInkStroke stroke) #
Returns: OfficeInkDocument

Adds a stroke and returns this document.

Parameters

stroke OfficeIMO.Drawing.OfficeInkStroke requiredposition: 0
public OfficeInkDocument Clone() #
Returns: OfficeInkDocument

Creates a detached copy of this ink document.

public OfficeInkBounds GetBounds() #
Returns: OfficeInkBounds

Returns bounds covering every stroke.

public Boolean Remove(OfficeInkStroke stroke) #
Returns: Boolean

Removes the first matching stroke.

Parameters

stroke OfficeIMO.Drawing.OfficeInkStroke requiredposition: 0

Returns

True when the stroke was present.

Properties

public IReadOnlyList<OfficeInkStroke> Strokes { get; } #

Ink strokes in paint order.