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

NameTypeAccessDescription
PortionFormatIBasePortionFormat?ReadGets the portion format.
TextstringRead/WriteGets or sets the text.
AsISlideComponentISlideComponentReadGets the as i slide component.
SlideIBaseSlide?ReadGets the slide.
AsIPresentationComponentIPresentationComponentReadGets the as i presentation component.
PresentationIPresentation?ReadGets the presentation.

Methods

SignatureDescription
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.

See Also