Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeInkDocument

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • OfficeInkDocument

Usage

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

Accepted by parameters 2

Constructors

public OfficeInkDocument() #

Creates an empty ink document.

Methods

public OfficeInkDocument Add(OfficeInkStroke stroke) #

Adds a stroke and returns this document.

Parameters

stroke OfficeIMO.Drawing.OfficeInkStroke required
public OfficeInkDocument Clone() #

Creates a detached copy of this ink document.

public OfficeInkBounds GetBounds() #

Returns bounds covering every stroke.

public bool Remove(OfficeInkStroke stroke) #

Removes the first matching stroke.

Parameters

stroke OfficeIMO.Drawing.OfficeInkStroke required

Returns

bool True when the stroke was present.

Properties

public IReadOnlyList<OfficeInkStroke> Strokes { get; } #

Ink strokes in paint order.