You can insert or add gradient, grid, or transparent objects in XPS files programmatically using C++. Insert Linear, vertical, horizontal gradient.... They support text, images, object transparency...to guide you! See Also Insert Text or Image in XPS File Programmatically...