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.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PortionFormat | IBasePortionFormat? | Read | Gets or sets the character formatting applied to the portion |
Text | string | Read/Write | |
AsISlideComponent | ISlideComponent | Read | |
Slide | IBaseSlide? | Read | Gets the slide that contains this portion, if it belongs to a slide |
AsIPresentationComponent | IPresentationComponent | Read | |
Presentation | IPresentation? | Read | Gets the presentation that owns this portion, if any |
Methods
| Signature | Description |
|---|---|
Portion() | Creates a Portion initialized with the supplied text string |
Portion(text: string) | The initial text content. |