CacheKeysGetPageKey Method
Returns unique identifier for the cache entry that represents page file.

Namespace: GroupDocs.Viewer.Caching
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.9
Syntax
public static string GetPageKey(
	int pageNumber,
	string extension
)

Parameters

pageNumber
Type: SystemInt32
The number of the page.
extension
Type: SystemString
The filename suffix (including the period ".") e.g. ".doc".

Return Value

Type: String
Unique identifier for the cache entry that represents page file.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when pageNumber is less or equal to zero.
ArgumentExceptionThrown when extension is null or empty.
See Also