How to Create a Title Shape for a Slide?

Hello Aspose team,

I need to set text to tooltip which is pop up when you hover over the slide. I attached the place where I need it to avoid misunderstandings.

image.png (56.7 KB)

If I right understand that tooltip show title of the slide, but I can’t find a way for creating a shape as the title. For creating all text on the slide I am using autoShape.
How is it possible to create a title shape for the slide? Or setting the tooltip by code?

@ikyrieieva,
Thank you for your question. We will reply to you soon.

@ikyrieieva,
You are right, that tooltip displays the text in PowerPoint from the Title shape. The Title shape appears on a normal slide when the slide uses a layout with the Title placeholder enabled: title.png (77.5 KB). You can use standard layouts for this or create a layout with the Title shape yourself and use it. The following code snippet shows you how to use Title Slide layout (the standard layout in PowerPoint) for the first slide:

// Let's say the Title Slide layout exists in your presentation.
var titleLayout = presentation.LayoutSlides.GetByType(SlideLayoutType.Title);
presentation.Slides[0].LayoutSlide = titleLayout;

Documents: Slide Layout
API Reference: ILayoutSlideCollection interface | SlideLayoutType enumeration