Table of Contents

Class StyledListExamples

Namespace
FileFormat.Slides.Examples
Assembly
FileFormat.Slides.Examples.dll

Provides C# code examples for creating, reading, and modifying slides in a Presentation using the FileFormat.Slides library.

public class StyledListExamples
Inheritance
StyledListExamples
Inherited Members

Constructors

StyledListExamples()

Initializes a new instance of the StyledListExamples class. Prepares the directory 'Presentations/New' for storing or loading PowerPoint(PPT or PPTX) presentations at the root of the project. If the directory doesn't exist, it is created. If it already exists, existing files are deleted, and the directory is cleaned up.

public StyledListExamples()

Methods

AddListItemsInAnExistingList(string, string)

This method adds the list items in an existing numbered or bulleted list.

public void AddListItemsInAnExistingList(string documentDirectory = "../../../Presentations/Existing", string filename = "test.pptx")

Parameters

documentDirectory string

Path of the presentation folder

filename string

Presentation name

CreateBulletedListInASlide(string, string)

This method creates bulleted list in a slide

public void CreateBulletedListInASlide(string documentDirectory = "../../../Presentations/New", string filename = "test.pptx")

Parameters

documentDirectory string

Path of the presentation folder

filename string

Presentation name

CreateNumberedListInASlide(string, string)

This method creates numbered list in a slide

public void CreateNumberedListInASlide(string documentDirectory = "../../../Presentations/Existing", string filename = "test.pptx")

Parameters

documentDirectory string

Path of the presentation folder

filename string

Presentation name

RemoveListItemsInAnExistingList(string, string)

This method removes the list items in an existing numbered or bulleted list.

public void RemoveListItemsInAnExistingList(string documentDirectory = "../../../Presentations/Existing", string filename = "test.pptx")

Parameters

documentDirectory string

Path of the presentation folder

filename string

Presentation name