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++...some XPS fragment (vector graphics and glyphs) 16 gridPath ->...System ::SharedPtr < XpsPath > path = canvas -> AddPath(doc -> ...