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
isNewSlidebool
Properties
Arrows
Property to get or set list of arrows.
public List<Arrow> Arrows { get; set; }
Property Value
BackgroundColor
Property to set background color of a slide.
public string BackgroundColor { get; set; }
Property Value
Circles
Property to get or set list of circles.
public List<Circle> Circles { get; set; }
Property Value
CurvedLines
Property to get or set list of curved lines.
public List<CurvedLine> CurvedLines { get; set; }
Property Value
Diamonds
Property to get or set list of diamonds.
public List<Diamond> Diamonds { get; set; }
Property Value
DoubleArrows
Property to get or set list of double arrows.
public List<DoubleArrow> DoubleArrows { get; set; }
Property Value
Images
Property contains the list of all images within a slide.
public List<Image> Images { get; set; }
Property Value
Lines
Property to get or set list of lines.
public List<Line> Lines { get; set; }
Property Value
Rectangles
Property to get or set the list of Rectangles.
public List<Rectangle> Rectangles { get; set; }
Property Value
RelationshipId
Property for the relationship Id.
public string RelationshipId { get; set; }
Property Value
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
SlidePresentation
Property to get or set the relative presentation instance
public Presentation SlidePresentation { get; set; }
Property Value
Tables
Property to get or set the list of tables
public List<Table> Tables { get; set; }
Property Value
TextShapes
Property contains the list of all text shapes.
public List<TextShape> TextShapes { get; set; }
Property Value
Triangles
Property to get or set list of triangles.
public List<Triangle> Triangles { get; set; }
Property Value
Methods
AddComment(Comment)
Method to add comments to a slide.
public void AddComment(Comment comment)
Parameters
commentCommentAn object of Comment class
AddImage(Image)
Method to add images to a slide.
public void AddImage(Image image)
Parameters
imageImageAn object of Image class
AddNote(string)
Method to add/update note to a slide
public void AddNote(string noteText)
Parameters
noteTextstringText you want to add as note
AddTable(Table)
Method to add table to a slide.
public void AddTable(Table table)
Parameters
tableTableAn object of Table class
AddTextShapes(TextShape)
Method to add a text shape in a slide.
public void AddTextShapes(TextShape textShape)
Parameters
textShapeTextShapeAn object of TextShape class.
AddTextShapes(TextShape, List<TextSegment>)
public void AddTextShapes(TextShape textShape, List<TextSegment> textSegments)
Parameters
textShapeTextShapetextSegmentsList<TextSegment>
DrawArrow(Arrow)
Method to draw an arrow in a slide
public void DrawArrow(Arrow arrow)
Parameters
arrowArrow
Exceptions
DrawCircle(Circle)
Method to draw a circle in a slide
public void DrawCircle(Circle circle)
Parameters
circleCircle
Exceptions
DrawCurvedLine(CurvedLine)
public void DrawCurvedLine(CurvedLine curvedLine)
Parameters
curvedLineCurvedLine
DrawDiamond(Diamond)
Method to draw a diamond shape in a slide
public void DrawDiamond(Diamond Diamond)
Parameters
DiamondDiamond
Exceptions
DrawDoubleArrow(DoubleArrow)
Method to draw a double arrow in a slide
public void DrawDoubleArrow(DoubleArrow doubleArrow)
Parameters
doubleArrowDoubleArrow
Exceptions
DrawLine(Line)
Method to draw a line in a slide
public void DrawLine(Line line)
Parameters
lineLine
Exceptions
DrawRectangle(Rectangle)
Method to draw a rectangular shape
public void DrawRectangle(Rectangle rect)
Parameters
rectRectangle
Exceptions
DrawTriangle(Triangle)
Method to draw a rectangular shape
public void DrawTriangle(Triangle triangle)
Parameters
triangleTriangle
Exceptions
GetComments()
Method to get the list of comments.
public List<Comment> GetComments()
Returns
GetTextShapesByText(string)
Get text shapes by searching a text term.
public List<TextShape> GetTextShapesByText(string text)
Parameters
textstringSearch term as string
Returns
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()