Try to include your PathFigureCollection
in a PathGeometry
object, and then you can access the bounding rectangle via the Bounds
property.
Example
var geometry = new PathGeometry {
Figures = new PathFigureCollection()
};
var boundingRect = geometry.Bounds;