I have the following code that loops through all textboxes and i am trying to figure out a way to delete a textbox from the slide.
var textboxes = SlideUtil.GetAllTextboxes(slide)
for (int i =0; i < textboxes.Length; i++)
{
var textbox = textboxes[i];
if (someCondition)
{
//Remove textbox from slide
}
}
I see how I can delete a shape from a slide using:
slide.Shapes.Remove();
but i can’t figure out how i either:
1. Convert my textbox (which is ITextFrame) to get the shape to remove.
2. See anyway to remove a textbox from a slide directly
What is the recommendation for this situation? I am using the latest version of aspose.slides on .net
What is the recommendation for this situation? I am using the latest version of aspose.slides on .net