ISlideCollectionInsertFromHtml Method (Int32, Stream, IExternalResourceResolver, String)

Creates slides from HTML text and inserts them to the collection at the specified position.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
ISlide[] InsertFromHtml(
	int index,
	Stream htmlStream,
	IExternalResourceResolver resolver,
	string uri
)

Parameters

index
Type: SystemInt32
Position to insert.
htmlStream
Type: System.IOStream
A Stream object which will be used as a source of a HTML file.
resolver
Type: Aspose.Slides.ImportIExternalResourceResolver
A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uri
Type: SystemString
An URI of the specified HTML. Used to resolve relative links.

Return Value

Type: ISlide
Added slides.
See Also