Readonly
customReadonly
documentName of the file. May include a path. e.g. "textures/123.jpg".
If true the file containes binary data and is returned as ArrayBuffer otherwise as string.
Retrieves an embedded binary or text resource from the document container. If the file doesn't exist the promise will be rejected with an FileNotFoundError.
Name of the file. May include a path. e.g. "textures/123.jpg".
If true the file containes binary data and is returned as ArrayBuffer otherwise as string.
Returns a list of files which are part of the given folder and its sub folders. The files are returned as a relative path including the file name. If the folder doesn't exist the promise will be rejected with an FileNotFoundError.
Optional
pFolderPath: stringPath of the folder.
Generated using TypeDoc
Retrieves a binary or text file from the container. If the file doesn't exist the promise will be rejected with an FileNotFoundError.