Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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):...
Parameter
Type
Description
address
str
The document address. It will be combined with the current directory path to form an absolute URL.
init
Initializes a new instance of the HTMLDocument 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):...
Parameter
Type
Description
request
aspose.html.net.RequestMessage
The request message.
init
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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):...
Parameter
Type
Description
address
str
The document address. It will be combined with the current directory path to form an absolute URL.
Initializes a new instance of the HTMLDocument 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):...
Parameter
Type
Description
content
str
The document content.
base_uri
str
The base URI of the document. It will be combined with the current directory path to form an absolute URL.
Exceptions
Exception
Description
ArgumentNullException
baseUri is null.
init
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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):...
Parameter
Type
Description
content
io.RawIOBase
The document content.
base_uri
str
The base URI of the document. It will be combined with the current directory path to form an absolute URL.
Exceptions
Exception
Description
ArgumentNullException
baseUri is null.
init
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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.
Initializes a new instance of the HTMLDocument 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.