SVGDocument constructor

init

Initializes a new instance of the SVGDocument class.

def __init__(self):
    ...

init

Initializes a new instance of the SVGDocument class.

def __init__(self, configuration):
    ...
ParameterTypeDescription
configurationConfigurationThe configuration.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, address):
    ...
ParameterTypeDescription
addressstrThe document address. It will be combined with the current directory path to form an absolute URL.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, url):
    ...
ParameterTypeDescription
urlUrlThe document URL.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, request):
    ...
ParameterTypeDescription
requestaspose.svg.net.RequestMessageThe request.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, address, configuration):
    ...
ParameterTypeDescription
addressstrThe document address. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe configuration.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, url, configuration):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe configuration.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security. Document loading starts from the current position in the stream.

def __init__(self, content, base_uri):
    ...
ParameterTypeDescription
contentio.RawIOBaseThe document content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security. Document loading starts from the current position in the stream.

def __init__(self, content, base_uri):
    ...
ParameterTypeDescription
contentio.RawIOBaseThe document content.
base_uriUrlThe base URI of the document.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, content, base_uri):
    ...
ParameterTypeDescription
contentstrThe document content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, content, base_uri):
    ...
ParameterTypeDescription
contentstrThe document content.
base_uriUrlThe base URI of the document.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, request, configuration):
    ...
ParameterTypeDescription
requestaspose.svg.net.RequestMessageThe request.
configurationConfigurationThe configuration.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security. Document loading starts from the current position in the stream.

def __init__(self, content, base_uri, configuration):
    ...
ParameterTypeDescription
contentio.RawIOBaseThe document content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe configuration.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security. Document loading starts from the current position in the stream.

def __init__(self, content, base_uri, configuration):
    ...
ParameterTypeDescription
contentio.RawIOBaseThe document content.
base_uriUrlThe base URI of the document.
configurationConfigurationThe configuration.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, content, base_uri, configuration):
    ...
ParameterTypeDescription
contentstrThe document content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe configuration.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

init

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 Document.navigate or its overloads. Or you can disable loading of some external resources by setting appropriate flags in IBrowsingContext.security.

def __init__(self, content, base_uri, configuration):
    ...
ParameterTypeDescription
contentstrThe document content.
base_uriUrlThe base URI of the document.
configurationConfigurationThe configuration.

Exceptions

ExceptionDescription
ArgumentNullExceptionbaseUri is null.

See Also