Portion
Overview
Portion is a class in Aspose.Slides FOSS for .NET.
Inherits from: IPortion.
Represents a portion (run) of text inside a text paragraph.
This class provides 2 methods for working with Portion objects in .NET programs.
Available methods include: Portion.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsIPresentationComponent, AsISlideComponent, PortionFormat, Presentation, Slide, Text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PortionFormat | IBasePortionFormat? | Read | Gets the portion format. |
Text | string | Read/Write | Gets or sets the text. |
AsISlideComponent | ISlideComponent | Read | Gets the as i slide component. |
Slide | IBaseSlide? | Read | Gets the slide. |
AsIPresentationComponent | IPresentationComponent | Read | Gets the as i presentation component. |
Presentation | IPresentation? | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
Portion() | Initializes a new instance of the Portion class with empty text. |
Portion(text: string) | Initializes a new instance of the Portion class with the specified text. |