GetPageKey
CacheKeys.GetPageKey method
Returns unique identifier for the cache entry that represents page file.
public static string GetPageKey(int pageNumber, string extension)
Parameter | Type | Description |
---|---|---|
pageNumber | Int32 | The number of the page. |
extension | String | The filename suffix (including the period “.”) e.g. “.doc”. |
Return Value
Unique identifier for the cache entry that represents page file.
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when pageNumber is less or equal to zero. |
ArgumentException | Thrown when extension is null or empty. |
See Also
- class CacheKeys
- namespace GroupDocs.Viewer.Caching
- assembly GroupDocs.Viewer