get_resource_key method

get_resource_key

Returns unique identifier for the cache entry that represents Resource object.

Returns

Unique identifier for the cache entry that represents Resource object.

def get_resource_key(self, page_number, resource):
    ...
Parameter Type Description
page_number int The number of the page.
resource groupdocs.viewer.results.Resource The HTML resource.

Exceptions

Exception Description
ArgumentException Thrown when page_number is less or equal to zero.
ArgumentNullException Thrown when resource is null.

See Also