Adding gradient in PS file is a functionality supported by Aspose.Page API solution. See how to use the functionality in C++...height, offsetX, offsetY); 42 //Rotate transform to get colors change...to down 43 brushTransform -> Rotate(90. 0f ); 44 //Set transform...