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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -