Table of Contents

Class Slide

Namespace
FileFormat.Slides
Assembly
FileFormat.Slides.dll

Represents the slide object within a presentatction

public class Slide
Inheritance
Slide
Inherited Members

Constructors

Slide()

Constructor for the Slide class.

public Slide()

Remarks

it intializes the Slide Facade set the slide index and intializes the lists of text shapes and images.

Slide(bool)

Contructor which accepts bool value

public Slide(bool isNewSlide)

Parameters

isNewSlide bool

Properties

BackgroundColor

Property to set background color of a slide.

public string BackgroundColor { get; set; }

Property Value

string

Images

Property contains the list of all images within a slide.

public List<Image> Images { get; set; }

Property Value

List<Image>

RelationshipId

Property for the relationship Id.

public string RelationshipId { get; set; }

Property Value

string

SlideFacade

Property for respective Slide Facade.

public SlideFacade SlideFacade { get; set; }

Property Value

SlideFacade

SlideIndex

Property to hold the index of the slide.

public int SlideIndex { get; set; }

Property Value

int

SlidePresentation

public Presentation SlidePresentation { get; set; }

Property Value

Presentation

Tables

public List<Table> Tables { get; set; }

Property Value

List<Table>

TextShapes

Property contains the list of all text shapes.

public List<TextShape> TextShapes { get; set; }

Property Value

List<TextShape>

Methods

AddComment(Comment)

Method to add comments to a slide.

public void AddComment(Comment comment)

Parameters

comment Comment

An object of Comment class

AddImage(Image)

Method to add images to a slide.

public void AddImage(Image image)

Parameters

image Image

An object of Image class

AddNote(string)

Method to add/update note to a slide

public void AddNote(string noteText)

Parameters

noteText string

Text you want to add as note

AddTable(Table)

Method to add table to a slide.

public void AddTable(Table table)

Parameters

table Table

An object of Table class

AddTextShapes(TextShape)

Method to add a text shape in a slide.

public void AddTextShapes(TextShape textShape)

Parameters

textShape TextShape

An object of TextShape class.

AddTextShapes(TextShape, List<TextSegment>)

public void AddTextShapes(TextShape textShape, List<TextSegment> textSegments)

Parameters

textShape TextShape
textSegments List<TextSegment>

GetComments()

Method to get the list of comments.

public List<Comment> GetComments()

Returns

List<Comment>

GetTextShapesByText(string)

Get text shapes by searching a text term.

public List<TextShape> GetTextShapesByText(string text)

Parameters

text string

Search term as string

Returns

List<TextShape>

RemoveNote()

Method to remove Notes of a slide

public void RemoveNote()

Update()

Method to update a slide properties e.g. background color.

public void Update()