ViewerConfig Class
Provides methods to configure Viewer handler.
Inheritance Hierarchy
SystemObject
  GroupDocs.Viewer.ConfigViewerConfig

Namespace: GroupDocs.Viewer.Config
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public class ViewerConfig

The ViewerConfig type exposes the following members.

Constructors
  NameDescription
Public methodViewerConfig
Initializes a new instance of the ViewerConfig class.
Properties
  NameDescription
Public propertyCode exampleCacheFolderName
The name of the folder inside the storage path that will be used for storing cache files.
Public propertyCode exampleCachePath
The path to the directory, where the cache will be stored.
Public propertyCode exampleEnableCaching
Indicates whether to cache rendering results or not.
Public propertyFontDirectories
The custom font directories paths
Public propertyCode exampleForcePasswordValidation
Indicates whether to force password validation for protected documents. By default is false.
Public propertyCode examplePageNamePrefix
The prefix for generated page name. Default is "page".
Public propertyCode exampleStoragePath
The path to the documents storage directory.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also