Generate a resource ID for a document.
Signature
static generate(document: DocumentObject): string;
Details
Optional | No |
---|---|
Final | No |
Protected | No |
Static | Yes |
Parameters
Name | Type | Optional | Description |
---|---|---|---|
document |
DocumentObject |
No | The document to generate a resource ID for. |
Returns
string