Compartir a través de


Renderer.Measure Method

Calculates the Rectangle on the device context needed to contain the stroke or strokes to be drawn by the Renderer object.

Overload List

Name Description
Renderer.Measure (Stroke) Calculates the Rectangle on the device context needed to contain the Stroke object to be drawn with the Draw method of the Renderer object.
Renderer.Measure (Strokes) Calculates the Rectangle on the device context needed to contain the Strokes collection to be drawn with the Draw method of the Renderer object.
Renderer.Measure (Stroke, DrawingAttributes) Calculates the Rectangle on the device context needed to contain the Stroke object to be drawn with the Draw method of the Renderer object by using the specified DrawingAttributes.

See Also

Reference

Renderer Class
Renderer Members
Microsoft.Ink Namespace
Microsoft.Ink.Renderer.Draw
Microsoft.Ink.Stroke.GetBoundingBox
Microsoft.Ink.Strokes.GetBoundingBox
DrawingAttributes