File Operations

View(token) void Pass a valid token string to view a file.
Close(server) void Closes a file instance. Pass true to close / dispose the server instance as well.
FileFormat() string Returns the format of the file currently open in the viewer.
TotalPages() integer Get the total page count of the file.
CurrentPage() integer Returns the current active page of the viewer.