Below is my .yml file , you can see i have mention (defaultDocument: ‘AB.docx’).
This AB.docx is present in DocumentSamples/Annotation folder.
I have one more doubt if my document reside in share folder then where I have to mention that and what will be the sysntax for that, My share folder location is \172.16.3.130\fs\App_Data
################################################
Server configurations
################################################
server:
type: simple
applicationContextPath: /
adminContextPath: /admin
connector:
type: http
port: 8081
################################################
Application (global) configurations
################################################
application:
# License path
# Absolute path to GroupDocs license file
licensePath: ‘Licenses/GroupDocs.Annotation.NET.lic’
################################################
Common configurations
################################################
common:
File rewriting on document uploading
Set false to keep both files
Set true to replace files with same name
rewrite: true
Page navigation
Set false to disable document navigation (go to next, previous, last and first page)
pageSelector: true
Document download
Set false to disable document download
download: true
Document upload
Set false to disable document upload
upload: true
Document print
Set false to disable document print
print: true
File browser
Set false to disable document browse
browse: true
Set false to disable right mouse click
enableRightClick: true
################################################
GroupDocs.Viewer configurations
################################################
viewer:
Files directory path
Absolute path to files directory
filesDirectory: ‘DocumentSamples/Annotation’
Fonts path
Absolute path to custom fonts directory
fontsDirectory: ‘’
Default document
Absolute path to default document
defaultDocument: ‘AB.docx’
Pages preload
How many pages from a document should be loaded, remaining pages will be loaded on page scrolling
Set 0 to load all pages at once
preloadPageCount: 1
HTML rendering mode
Set false for image mode
Set true for HTML mode
htmlMode: true
Document zoom
Set false to disable document zooming
zoom: true
Document search
Set false to disable document text search
search: true
Thumbnails
Set false to disable thumbnails
thumbnails: true
Page rotation
Set false to disable pages rotation
rotate: true
Using cache
Set true to enable cache
cache: true
Set true to enable page rotation saving
saveRotateState: true
Enter text which will be used as a watermark
watermarkText: “”
Print secured documents mode
Set false to ignore document print security
Set true to check document print security
printAllowed: true
################################################
GroupDocs.Signature configurations
################################################
signature:
Files directory path
Absolute path to files directory
filesDirectory: ‘DocumentSamples/Signature’
Default document
Absolute or relative path to default document
defaultDocument: ‘’
Pages preload
How many pages from a document should be loaded, remaining pages will be loaded on page scrolling
Set 0 to load all pages at once
preloadPageCount: 0
Data directory path
Absolute path to signature cache files directory
dataDirectory: ‘’
Enable/disable text signature
textSignature: true
Enable/disable image signature
imageSignature: true
Enable/disable digital signature
digitalSignature: true
Enable/disable QR-Code signature
qrCodeSignature: true
Enable/disable Barcode signature
barCodeSignature: true
Enable/disable Stamp signature
stampSignature: true
Enable/disable Hand signature
handSignature: true
Enable/disable original document downloading
downloadOriginal: true
Enable/disable signed document downloading
downloadSigned: true
################################################
GroupDocs.Annotation configurations
################################################
annotation:
Files directory path
Absolute or relative path to files directory
filesDirectory: ‘DocumentSamples/Annotation’
Default document
Absolute or relative path to default document
defaultDocument: ‘’
Pages preload
How many pages from a document should be loaded, remaining pages will be loaded on page scrolling
Set 0 to load all pages at once
preloadPageCount: 0
Output directory path
Absolute path to annotated files directory
outputDirectory: ‘’
Fonts path
Absolute path to custom fonts directory
fontsDirectory: ‘’
Enable/disable Text annotation
textAnnotation: true
Enable/disable Area annotation
areaAnnotation: true
Enable/disable Point annotation
pointAnnotation: true
Enable/disable TextStrikeout annotation
textStrikeoutAnnotation: true
Enable/disable Polyline annotation
polylineAnnotation: true
Enable/disable TextField annotation
textFieldAnnotation: true
Enable/disable Watermark annotation
watermarkAnnotation: true
Enable/disable TextReplacement annotation
textReplacementAnnotation: true
Enable/disable Arrow annotation
arrowAnnotation: true
Enable/disable TextRedaction annotation
textRedactionAnnotation: true
Enable/disable ResourcesRedaction annotation
resourcesRedactionAnnotation: true
Enable/disable TextUnderline annotation
textUnderlineAnnotation: true
Enable/disable Distance annotation
distanceAnnotation: true
Enable/disable original document downloading
downloadOriginal: true
Enable/disable signed document downloading
downloadAnnotated: true
Enable/disable zoom
zoom: true
Enable/disable fit width
set true to zoom document pages fit width
fitWidth: true
################################################
GroupDocs.Comparison configurations
################################################
comparison:
Files directory path
Absolute path to files directory
filesDirectory: ‘DocumentSamples/Comparison’
FResult files directory path
Absolute path to result files directory
resultDirectory: ‘’
Result pages preload
How many pages from a result document should be loaded, remaining pages will be loaded on page scrolling
Set 0 to load all pages at once
preloadResultPageCount: 2
Enable/disable multi comparing feature
multiComparing: true