|
<< Click to Display Table of Contents >> Navigation: Gnostice Document Studio .NET > Going Deeper > Document Viewing > ASP.NET > Customizing the look and feel > Server-side preferences |
The viewer preferences that are configurable on the server are specified in the OnServerStart event handler. For details on implementing this event handler please see the topic Server-side Events.
The server-side preferences include document rendering settings, settings to turn on or off document viewer features, and security related settings. All the preferences are accessible using the ViewerPreferences property of the parameter object passed to the OnServerStart event handler.
Sub-group |
Property |
Type |
Default Value |
Description |
Document rendering. Settings are under ViewerPreferences.Rendering object. |
ViewingDPI |
Integer |
96 |
Specifies the quality of the page rendering when viewing the document. |
PrintingDPI |
Integer |
96 |
Specifies the quality of the page rendering when printing the document. |
|
File operations. Settings are under ViewerPreferences.FileOperations object. |
AllowUpload |
Boolean |
true |
Specifies whether to allow uploading document through viewer. |
AllowDownload |
Boolean |
true |
Specifies whether to allow downloading document through viewer. |
|
AllowDownloadAs |
Boolean |
true |
Specifies whether to allow download as other format through viewer. |
|
AllowSave |
Boolean |
true |
Specifies whether to allow saving document changes to the document through viewer. |
|
AllowPrinting |
Boolean |
true |
Specifies whether to allow printing document through viewer. |
|
Interactivity. Settings are under ViewerPreferences.Interactivity object. |
AllowFormFilling |
Boolean |
true |
Specifies whether to allow form filling on viewer. |
AllowAnnotations |
Boolean |
true |
Specifies whether to allow adding annotations and commenting on document through viewer. |
|
AllowSigning |
Boolean |
true |
Specifies whether to allow signing on document in viewer. |
|
Digitization (OCR). Settings are under ViewerPreferences.Digitization object. |
Enabled |
Boolean |
false |
Specifies if digitization needs to be applied on the document. |
RecognizeLanguages |
String |
eng |
Specifies the digitization languages that will be used while digitizing document. More than one language can be specified. For example "eng+de" for English and German. |