CacheKeysGetPageKey Method |
Returns unique identifier for the cache entry that represents page file.
Namespace: GroupDocs.Viewer.CachingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic static string GetPageKey(
int pageNumber,
string extension
)
Public Shared Function GetPageKey (
pageNumber As Integer,
extension As String
) As String
public:
static String^ GetPageKey(
int pageNumber,
String^ extension
)
static member GetPageKey :
pageNumber : int *
extension : string -> string
Parameters
- pageNumber
- Type: SystemInt32
The number of the page. - extension
- Type: SystemString
The filename suffix (including the period ".") e.g. ".doc".
Return Value
Type:
StringUnique identifier for the cache entry that represents page file.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when pageNumber is less or equal to zero. |
ArgumentException | Thrown when extension is null or empty. |
See Also