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

NameTypeAccessDescription
PortionFormatIBasePortionFormat?ReadGets or sets the character formatting applied to the portion
TextstringRead/Write
AsISlideComponentISlideComponentRead
SlideIBaseSlide?ReadGets the slide that contains this portion, if it belongs to a slide
AsIPresentationComponentIPresentationComponentRead
PresentationIPresentation?ReadGets the presentation that owns this portion, if any

Methods

SignatureDescription
Portion()Creates a Portion initialized with the supplied text string
Portion(text: string)The initial text content.