Is there anyway to get the gradient fill properties of a shape?

Hi,

Is there anyway to get the gradient fill properties of a shape?

Cheers,
Simon

@JavaDev01,

Thanks for your inquiry. Please ZIP and attach your input Word document and expected result here for our reference. We will then provide you more information about your query.

Tahir,

Please find attached a zip containing a document. The document contains a text box with a gradient fill background. In this case the text is white. This makes the text unreadable with no background information.

I’d like an API to get details of the gradient fill. Stops, colours, direction, type, etc.

Cheers,
Simon

ShapeWithGradientFill.zip (12.1 KB)

@JavaDev01,

Thanks for sharing the detail. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-16733 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16733) have been fixed in this Aspose.Words for Java 21.11.0 update.

What is about .NET ? Did you fix it for .NET, too ?

@Nachti Yes, the feature is available in all Java, .NET, Python and C++ versions of Aspose.Words. Please see Fill class for more information.