We are using
Aspose.Slides .NET and are running it on windows 10 .NET 4 ?
Does aspose.slides completely support shadow on images ?
Is there an API to check if a current shape has shadow applied on it?
what are the return values?
Will it be available for all shapes ?
Also, see the sample code segment for your reference.
e.g., Sample code:
// Load the presentation
Aspose.Slides.Presentation presentation = new Aspose.Slides.Presentation("presentation.pptx");
// Access the first slide
Aspose.Slides.ISlide slide = presentation.Slides[0];
// Get the first shape on the slide
Aspose.Slides.IAutoShape shape = (IAutoShape)slide.Shapes[0];
// Assuming shape is your Shape object
if (shape != null)
{
if (shape.TextFrame != null)
{
foreach (var paragraph in shape.TextFrame.Paragraphs)
{
foreach (var portion in paragraph.Portions)
{
if (portion.PortionFormat.EffectFormat.OuterShadowEffect != null)
{
// Shadow is applied to this portion of text
// Your code goes here
}
}
}
}
else if (shape.EffectFormat.OuterShadowEffect != null)
{
// Shadow is applied to the shape
// Your code goes here
}
}
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.