Retrieve Char elements of Master inherited by the Shape with Aspose.Diagram 18.2 API

Aspose.Diagram for .NET logoWe are pleased to announce that the new version 18.1 of Aspose.Diagram API is now live. The recent version 18.2 has added support of retrieving Char elements of Master with the Shape instance. The Shape is an extended form of Master and developers can retrieve text formatting using Char elements of the Master with a Shape instance. The recent version 18.2 also covers enhancements and regular bug fixes. We recommend our client to incorporate the latest upgrade of Aspose.Diagram API to take benefit of improved functionality and bug fixes. Please use the following links for downloading Aspose.Diagram for .NET and Java assemblies.

Retrieve a collection of inherited Char elements

The Char elements define the formatting of the shape’s text, and a Shape instance has a collection of Char elements inherited from the Master. Developers can retrieve these inherited Char elements with InheritChars member of the Shape class as follows:

// shape is the instance of Aspose.Diagram.Shape class
CharCollection charCollection = shape.InheritChars;


// shape is the instance of com.aspose.diagram.Shape class
CharCollection charCollection = shape.getInheritChars();

Aspose.Diagram for .NET and Java Resources

The following resources will help you work with Aspose.Diagram for .NET: