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
BackgroundColor
Property to set or get background color of a text shape.
public string BackgroundColor { get; set; }
Property Value
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
FontSize
Property to set or get the font size of the Text Shape.
public int FontSize { get; set; }
Property Value
Height
Property to get or set height of the shape.
public double Height { get; set; }
Property Value
ShapeIndex
Property to get or set the shape index within a slide.
public int ShapeIndex { get; set; }
Property Value
Text
Property to set or get the text of the shape.
public string Text { get; set; }
Property Value
TextColor
Property to get or set the text color of the text shape.
public string TextColor { get; set; }
Property Value
TextList
Property to set or get styled list of a text shape.
public StyledList TextList { get; set; }
Property Value
TextSegments
Property to set or get text segments within a text shape.
public List<TextSegment> TextSegments { get; set; }
Property Value
Width
Property to get or set width of the shape.
public double Width { get; set; }
Property Value
X
Property to get or set X coordinate of the shape
public double X { get; set; }
Property Value
Y
Property to get or set Y coordinate of the shape.
public double Y { get; set; }
Property Value
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
Remove()
Method to remove the textshape of a slide.
public void Remove()
Update()
Method to update text shape.
public void Update()