wpf - How to get PathFigureCollection bounding rectangle -


is possible find bounding rectangle of pathfigurecollection object, in c# ? (i know how using frameworkelement that's not want)

try include pathfigurecollection in pathgeometry object, , can access bounding rectangle via bounds property.

example

var geometry = new pathgeometry {     figures = new pathfigurecollection() }; var boundingrect = geometry.bounds; 

Comments

Popular posts from this blog

PHP Error "Undefined index" -

C# List<> to xml -

php - How to only save new tweets/instagram photos to database? -