Add Transparent Object inside XPS Document

[ ]

Add Transparent Object

Aspose.Page for C++ lets you add transparent objects to an XPS document in your applications. The XpsPath class is used to achieve this using simple code. In order to add a transparent object to the XPS document, the following steps can be used.

  1. Create a new object using the XpsDocument class
  2. Create an XpsPath object with required parameters
  3. Set rendering transformation information for the path
  4. Use the set_Opacity method to specify the opacity value
  5. Save the XPS document using the Save method.