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

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -