Adding gradient in PS file is a functionality supported by Aspose.Page API solution. See how to use the functionality in C++...System::Drawing::Drawing2D::Matrix > brushTransform = System::MakeObject...System::Drawing::Drawing2D::Matrix > (width, 0. 0f , 0. 0f , height...