Custom shape geometry

Is it possible to get geometry from Custom shape? (for example: Custom shape from theme).

@nebojsa.danilovic,

I have observed the request shared by you and have not been able to completely understand your requirements that what you want Aspose.Slides to offer you in terms of custom shape geometry of shape. We have Shape.Frame property that may be helpful to you. Please proceed to shared link and if there is any further information required, please feel share your complete requirements with us.

Hi mudassir,
thank You for quick answer. What I want is to make same object as it is in theme Badge in Master slide on the left side. It is not classic shape, like rectangle, or circle, or square… It is Custom shape (something like rectangle, but one side is wave line…), but I cannot find geometry path for that shape…
I hope that now is something clearer…
best regards
Nebojsa Danilovic.

@nebojsa.danilovic,

I have observed your requirements and like to share that at present the support for drawing custom shapes is unavailable in Aspose.Slides. Please visit this documentation link for list of support ShapeTypes.

Hi,
thanks for quick answer
best regards
Nebojsa Danilovic

Hi,
one more thing, please:
Is it possible to convert custom shape to image?
Nebojsa Danilovic

@nebojsa.danilovic,

I like to share that if you access a presentation with custom shape and generate the slide thumbnail for this it will be generated. If you find any issue please feel free to share with us.

Hi,
yes, it is ok. I manage to generate thumbnail from shape.
Thanks!
Nebojsa Danilovic

Hi,
one more question.
I can generate thumbnail for SmartArt, for Custom shape …, but is it possible to generate image from Chart?. I always got error.
best regards
Nebojsa Danilovic

@nebojsa.danilovic,

I have observed your comments. I like to inform that it is possible to generate image from Chart in Presentations. Please share complete details of source presentation and environment details along with version details of Aspose.Slides if you are having any issue.

Hi Adnan
thank You, but in the meantime I have found way to generate picture from chart.
Anyway, can You show me what is the best way to find out(get) is there animation in pptx file and how to count number of animation?
Best regards
Nebojsa Danilovic

@nebojsa.danilovic,

I have observed your comments. I have also shared sample code to help you out. Please share feedback with us if there is still an issue.

using (Presentation presentation = new Presentation(“pres.pptx”))
{
int numberOfSequences = 0;
foreach (ISlide slide in presentation.Slides)
{
numberOfSequences += slide.Timeline.InteractiveSequences.Count;
numberOfSequences += slide.Timeline.MainSequence.Count;
}

Console.WriteLine("Total number od animation sequences: " + numberOfSequences);

}

Hi Adnan,
thank You for quick response. Super, that is what I want, but, how will I know which shapes are with animation, because I have both shapes with animation and shapes without animation.
Nebojsa

@nebojsa.danilovic,

I have observed your comments. Please use below method to achieve your requirements. Please share feedback with us if there is still an issue.

slide.Timeline.MainSequence.GetEffectsByShape(shape);

Thanks Adnan,
that is what I want.
Best regards
Nebojsa Daniovic

@nebojsa.danilovic,

You are very welcome.