SVGDocument Constructor (Stream, String, Configuration) |
Initializes a new instance of the
SVGDocument class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.).
To load document asynchronously use method
Navigate(Stream, String) or its overloads.
Or you can disable loading of some external resources by setting appropriate flags in
Security.
Namespace: Aspose.Html.Dom.SvgAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxpublic SVGDocument(
Stream content,
string baseUri,
Configuration configuration
)
Public Sub New (
content As Stream,
baseUri As String,
configuration As Configuration
)
public:
SVGDocument(
Stream^ content,
String^ baseUri,
Configuration^ configuration
)
new :
content : Stream *
baseUri : string *
configuration : Configuration -> SVGDocument
Parameters
- content
- Type: System.IOStream
The document content. - baseUri
- Type: SystemString
The base URI of the document. - configuration
- Type: Aspose.HtmlConfiguration
The configuration.
Exceptions
See Also