We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Use of createFromTemplate in AddAutoShape method

Hi team,
Could you explain the use of createFromTemplate overload option in slide.Shapes.AddAutoShape method with an example (if possible)?

Hi Aditya,

I have observed your requirement concerning to usage of createFromTemplate boolean value in AddAutoShape method. Actually, this is If true then new shape will be tuned from default template that has been applied on your source presentation which include Not empty name, simple style, text centered that will be assigned to the newly added shape. If false then all values of the properties of the new shape will have default values and user will have to set them.

I hope this will clarify the concept. Please share, if i may help you further in this regard.

Many Thanks,