ICanvasImageGetBounds Method (ICanvasResourceCreator) |
Namespace: Microsoft.Graphics.Canvas
Rect GetBounds( ICanvasResourceCreator resourceCreator )
These bounds are the area the image would fill if it were drawn at target offset (0, 0), and identity transform.
If the resourceCreator parameter is a CanvasDrawingSession instance then the units used depends on the current value of the CanvasDrawingSession.Units property. Otherwise the result is in Dips.