Class
OfficeInkDocument
OfficeIMO.Drawing
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
- Method OfficeInkDocument.Add
- Method OfficeInkDocument.Clone
Accepted by parameters 2
- Method OfficeInkRenderer.AddToDrawing
- Method OfficeInkRenderer.Render
Constructors
Methods
public OfficeInkDocument Add(OfficeInkStroke stroke) #Adds a stroke and returns this document.
Parameters
- stroke OfficeIMO.Drawing.OfficeInkStroke
Returns
OfficeInkDocumentpublic OfficeInkDocument Clone() #Creates a detached copy of this ink document.
Returns
OfficeInkDocumentpublic bool Remove(OfficeInkStroke stroke) #Removes the first matching stroke.
Parameters
- stroke OfficeIMO.Drawing.OfficeInkStroke
Returns
bool True when the stroke was present.Inherited Methods
Properties
public IReadOnlyList<OfficeInkStroke> Strokes { get; } #Ink strokes in paint order.