InsertFromHtml
内容
[
隐藏
]InsertFromHtml(int, string, IExternalResourceResolver, string)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, string htmlText, IExternalResourceResolver resolver,
string uri)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlText | String | 要添加的HTML。 |
resolver | IExternalResourceResolver | 用于获取外部对象的回调对象。如果此参数为null,则所有外部对象将被忽略。 |
uri | String | 指定HTML的URI。用于解析相对链接。 |
返回值
添加的幻灯片。
另见
InsertFromHtml(int, string)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, string htmlText)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlText | String | 要添加的HTML。 |
返回值
添加的幻灯片。
另见
- 接口 ISlide
- 接口 ISlideCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
InsertFromHtml(int, TextReader, IExternalResourceResolver, string)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, TextReader htmlReader,
IExternalResourceResolver resolver, string uri)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlReader | TextReader | 将作为HTML文件源使用的TextReader对象。 |
resolver | IExternalResourceResolver | 用于获取外部对象的回调对象。如果此参数为null,则所有外部对象将被忽略。 |
uri | String | 指定HTML的URI。用于解析相对链接。 |
返回值
添加的幻灯片。
另见
InsertFromHtml(int, TextReader)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, TextReader htmlReader)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlReader | TextReader | 将作为HTML文件源使用的TextReader对象。 |
返回值
添加的幻灯片。
另见
- 接口 ISlide
- 接口 ISlideCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
InsertFromHtml(int, Stream, IExternalResourceResolver, string)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, Stream htmlStream, IExternalResourceResolver resolver,
string uri)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlStream | Stream | 将作为HTML文件源使用的Stream对象。 |
resolver | IExternalResourceResolver | 用于获取外部对象的回调对象。如果此参数为null,则所有外部对象将被忽略。 |
uri | String | 指定HTML的URI。用于解析相对链接。 |
返回值
添加的幻灯片。
另见
InsertFromHtml(int, Stream)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, Stream htmlStream)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlStream | Stream | 将作为HTML文件源使用的Stream对象。 |
返回值
添加的幻灯片。
另见
- 接口 ISlide
- 接口 ISlideCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
InsertFromHtml(int, string, bool)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, string htmlText, bool useSlideWithIndexAsStart)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlText | String | 要添加的HTML。 |
useSlideWithIndexAsStart | Boolean | 此标志决定如何开始插入:从新幻灯片开始还是从具有指定索引的幻灯片开始。如果true,则数据插入将从具有指定索引的幻灯片上的空白空间开始。如果false,则数据将添加到创建的幻灯片中。 |
返回值
添加的幻灯片。
另见
- 接口 ISlide
- 接口 ISlideCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
InsertFromHtml(int, string, IExternalResourceResolver, string, bool)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, string htmlText, IExternalResourceResolver resolver,
string uri, bool useSlideWithIndexAsStart)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlText | String | 要添加的HTML。 |
resolver | IExternalResourceResolver | 用于获取外部对象的回调对象。如果此参数为null,则所有外部对象将被忽略。 |
uri | String | 指定HTML的URI。用于解析相对链接。 |
useSlideWithIndexAsStart | Boolean | 此标志决定如何开始插入:从新幻灯片开始还是从具有指定索引的幻灯片开始。如果true,则数据插入将从具有指定索引的幻灯片上的空白空间开始。如果false,则数据将添加到创建的幻灯片中。 |
返回值
添加的幻灯片。
另见
InsertFromHtml(int, Stream, bool)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, Stream htmlStream, bool useSlideWithIndexAsStart)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlStream | Stream | 将作为HTML文件源使用的Stream对象。 |
useSlideWithIndexAsStart | Boolean | 此标志决定如何开始插入:从新幻灯片开始还是从具有指定索引的幻灯片开始。如果true,则数据插入将从具有指定索引的幻灯片上的空白空间开始。如果false,则数据将添加到创建的幻灯片中。 |
返回值
添加的幻灯片。
另见
- 接口 ISlide
- 接口 ISlideCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
InsertFromHtml(int, Stream, IExternalResourceResolver, string, bool)
从HTML文本创建幻灯片并将其插入到指定位置的集合中。
public ISlide[] InsertFromHtml(int index, Stream htmlStream, IExternalResourceResolver resolver,
string uri, bool useSlideWithIndexAsStart)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 插入位置。 |
htmlStream | Stream | 将作为HTML文件源使用的Stream对象。 |
resolver | IExternalResourceResolver | 用于获取外部对象的回调对象。如果此参数为null,则所有外部对象将被忽略。 |
uri | String | 指定HTML的URI。用于解析相对链接。 |
useSlideWithIndexAsStart | Boolean | 此标志决定如何开始插入:从新幻灯片开始还是从具有指定索引的幻灯片开始。如果true,则数据插入将从具有指定索引的幻灯片上的空白空间开始。如果false,则数据将添加到创建的幻灯片中。 |
返回值
添加的幻灯片。