Portion
概述
Portion 是 Aspose.Slides FOSS 中用于 .NET 的一个类。继承自:IPortion。
表示文本段落内部的一段(run)文本。
此类提供 2 个方法,用于在 .NET 程序中处理 Portion 对象。可用方法包括:Portion。安装 Aspose.Slides FOSS for .NET 软件包后,所有公共成员对任何 .NET 应用程序均可访问。属性:AsIPresentationComponent, AsISlideComponent, PortionFormat, Presentation, Slide, Text。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
PortionFormat | IBasePortionFormat? | 读取 | 获取部分格式。 |
Text | string | 读写 | 获取或设置文本。 |
AsISlideComponent | ISlideComponent | 读取 | 获取 as i slide 组件。 |
Slide | IBaseSlide? | 读取 | 获取幻灯片。 |
AsIPresentationComponent | IPresentationComponent | 读取 | 获取 as i 表示组件。 |
Presentation | IPresentation? | 读取 | 获取演示。 |
方法
| 签名 | 描述 |
|---|---|
Portion() | 使用空文本初始化 Portion 类的新实例。 |
Portion(text: string) | 使用指定文本初始化 Portion 类的新实例。 |