API Reference
Class
OfficeInkDocument
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
- Method OfficeInkDocument.Add
- Method OfficeInkDocument.Clone
Accepted by parameters
- Method OfficeInkRenderer.AddToDrawing
- Method OfficeInkRenderer.Render
Constructors
public OfficeInkDocument() #Creates an empty ink document.
Methods
public OfficeInkDocument Add(OfficeInkStroke stroke) #Returns:
OfficeInkDocumentAdds a stroke and returns this document.
Parameters
- stroke OfficeIMO.Drawing.OfficeInkStroke
public OfficeInkDocument Clone() #Returns:
OfficeInkDocumentCreates a detached copy of this ink document.
public Boolean Remove(OfficeInkStroke stroke) #Returns:
BooleanRemoves the first matching stroke.
Parameters
- stroke OfficeIMO.Drawing.OfficeInkStroke
Returns
True when the stroke was present.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<OfficeInkStroke> Strokes { get; } #Ink strokes in paint order.