DocumentOptions Class
Definition
- Namespace
- GleamTech.DocumentUltimate.AspNet.UI
- Assembly
- GleamTech.DocumentUltimate.dll
Represents options for a document loaded in the document viewer.
You can specify document format, password, watermarks, attachments etc.
public class DocumentOptions : DocumentCacheOptions
- Inheritance
-
DocumentOptions
Constructors
| DocumentOptions() |
Initializes a new instance of the DocumentOptions class. |
Properties
| Attachments |
Gets the collection of the attachments that will be added to the displayed document. Downloading as PDF will also include the same attachments. Note that changes in this property change CachePdfKey. |
| InputOptions |
Gets the collection of input options used when generating the displayed document. For example, when you add an instance of SpreadsheetInputOptions to this collection, it will be used only for spreadsheet input files. Note that changes in this property change CachePdfKey. |
| Watermarks |
Gets the collection of the text or image watermarks to embed to the displayed document. Downloading as PDF will also include the same watermarks. Note that changes in this property change CachePdfKey. |