Table of Contents

Class TextShape

Namespace
FileFormat.Slides
Assembly
FileFormat.Slides.dll

This class represents the text shape within a slide.

public class TextShape
Inheritance
TextShape
Inherited Members

Constructors

TextShape()

Constructor of the TextShape class inititalizes the object of TextShapeFacade and populate its fields.

public TextShape()

Properties

Alignment

Property to get or set alignment of the shape.

public TextAlignment Alignment { get; set; }

Property Value

TextAlignment

BackgroundColor

Property to set or get background color of a text shape.

public string BackgroundColor { get; set; }

Property Value

string

Facade

Property to get or set the TextShapeFacade.

public TextShapeFacade Facade { get; set; }

Property Value

TextShapeFacade

FontFamily

Property to get or set the font family of the text shape.

public string FontFamily { get; set; }

Property Value

string

FontSize

Property to set or get the font size of the Text Shape.

public int FontSize { get; set; }

Property Value

int

Height

Property to get or set height of the shape.

public double Height { get; set; }

Property Value

double

ShapeIndex

Property to get or set the shape index within a slide.

public int ShapeIndex { get; set; }

Property Value

int

Text

Property to set or get the text of the shape.

public string Text { get; set; }

Property Value

string

TextColor

Property to get or set the text color of the text shape.

public string TextColor { get; set; }

Property Value

string

TextList

Property to set or get styled list of a text shape.

public StyledList TextList { get; set; }

Property Value

StyledList

TextSegments

Property to set or get text segments within a text shape.

public List<TextSegment> TextSegments { get; set; }

Property Value

List<TextSegment>

Width

Property to get or set width of the shape.

public double Width { get; set; }

Property Value

double

X

Property to get or set X coordinate of the shape

public double X { get; set; }

Property Value

double

Y

Property to get or set Y coordinate of the shape.

public double Y { get; set; }

Property Value

double

Methods

GetTextShapes(List<TextShapeFacade>)

Method for getting the list of text shapes.

public static List<TextShape> GetTextShapes(List<TextShapeFacade> textShapeFacades)

Parameters

textShapeFacades List<TextShapeFacade>

An object of TextShapeFacade.

Returns

List<TextShape>

Remove()

Method to remove the textshape of a slide.

public void Remove()

Update()

Method to update text shape.

public void Update()