API Reference
Class
OfficeInkRenderer
Projects format-neutral ink strokes into the shared drawing scene.
Inheritance
- Object
- OfficeInkRenderer
Methods
public static Void AddToDrawing(OfficeDrawing drawing, OfficeInkDocument ink, Double offsetX = 0, Double offsetY = 0, OfficeInkRenderOptions options = null) #Returns:
VoidAdds ink to an existing drawing at an optional destination offset.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- ink OfficeIMO.Drawing.OfficeInkDocument
- offsetX System.Double = 0
- offsetY System.Double = 0
- options OfficeIMO.Drawing.OfficeInkRenderOptions = null
public static Double GetEffectiveOpacity(OfficeInkStroke stroke, Double highlighterOpacityFactor = 0.4) #Returns:
DoubleReturns the effective rendered opacity, including color alpha and highlighter behavior.
Parameters
- stroke OfficeIMO.Drawing.OfficeInkStroke
- highlighterOpacityFactor System.Double = 0.4
public static OfficeDrawing Render(OfficeInkDocument ink, Double width, Double height, OfficeInkRenderOptions options = null) #Returns:
OfficeDrawingCreates a new drawing containing the supplied ink.
Parameters
- ink OfficeIMO.Drawing.OfficeInkDocument
- width System.Double
- height System.Double
- options OfficeIMO.Drawing.OfficeInkRenderOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object