How to work with visual brush of an XPS file is a question answered by Aspose.Page API solution. See how to use the functionality in C++...doc -> CreatePathGeometry ( u "M 0,4 L 4,4 4,0 6,0 6,4 10,4 10...doc -> CreatePathGeometry ( u "M 30,20 l 258.24,0 0,56.64 -258...