SVGDocument Constructor (Stream, String) |
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
Syntax public SVGDocument(
Stream content,
string baseUri
)
Public Sub New (
content As Stream,
baseUri As String
)
public:
SVGDocument(
Stream^ content,
String^ baseUri
)
new :
content : Stream *
baseUri : string -> SVGDocument
Parameters
- content
- Type: System.IOStream
The document content. - baseUri
- Type: SystemString
The base URI of the document.
Exceptions See Also