You can insert or add gradient, grid, or transparent objects in XPS files programmatically using C++. Insert Linear, vertical, horizontal gradient....be used to display a lot of visual information. They support text...grid VisualBrush Create Visual brush and add grid Save output...