![]() If TypeOf slide.Shapes(j) Is IAutoShape Thenĭim shape As IAutoShape = Tr圜ast(slide.Shapes(j), IAutoShape) 'Check if the current shape is of IAutoShape type Presentation.LoadFromFile("Sample1.pptx")įor i As Integer = 0 To - 1ĭim slide As ISlide = presentation.Slides(i)įor j As Integer = 0 To - 1 'Create an instance of Presentation classĭim presentation As Presentation = New Presentation() Private Shared Sub Main(ByVal args As String()) Presentation.SaveToFile("HighlightText.pptx", FileFormat.Pptx2013) ("Spire.Presentation", Color.LightYellow, options) Highlight specific text within the shape with color TextHighLightingOptions options = new TextHighLightingOptions() Create an instance of TextHighLightingOptions class IAutoShape shape = slide.Shapes as IAutoShape Check if the current shape is of IAutoShape type Presentation presentation = new Presentation() įor (int i = 0 i < i++)įor (int j = 0 j < j++) Create an instance of Presentation class
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |