I would like to know if it’s possible using Aspose Slide Java to change the size of the organization chart node (height or width)?
Ideally is it possible to set the height / width ratio, or is it possible to make sure the height can be changed to fit the text inside without overlap, in that case, we could add blank line to increase the height as a workaround.
Even if using the method, where the shape size supposed to fit the text (as written in the java method comment), this seems to not change the behavior, and the text still overlaps: ITextFrame textFrame = ISmartArtNode.getTextFrame textFrame.getTextFrameFormat().setAutofitType(TextAutofitType.Shape);
The question is quite similar with another one asked 3 years ago:
I have observed your comments. Can you please share source presentation, generated presentation so that we can further investigate to help you out. Also please share environment details and which Aspose.Slides version you are using on your end.
I have worked over your requirements and like to share that at present the support for adjusting the width and height of SmartArt node is unavailable in Aspose.Slides. You can set the TextFrame Autofit type to TextAutofitType.Shape, which ensures the auto increase in height of SmartArt node on increasing text. However, this feature is presently not working and an issue with ID SLIDESJAVA-36449 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the support will be available.
We are sorry for your inconvenience,
Mudassir Fayyaz
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.