ViewerHandlerT Class
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Base class for Viewer handlers.
Inheritance Hierarchy
SystemObject
  GroupDocs.Viewer.HandlerViewerHandlerT
    GroupDocs.Viewer.HandlerViewerHtmlHandler
    GroupDocs.Viewer.HandlerViewerImageHandler

Namespace: GroupDocs.Viewer.Handler
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public abstract class ViewerHandler<T>
where T : Page

Type Parameters

T

The ViewerHandlerT type exposes the following members.

Methods
  NameDescription
Public methodCode exampleClearCache
Clears all of the cache.
Public methodCode exampleClearCache(String)
Clears cache of the specified document.
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.)
Protected methodGetAttachmentName
Gets the attachment name
Public methodCode exampleGetDocumentInfo(Stream)
Gets the document information.
Public methodCode exampleGetDocumentInfo(String)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Uri)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Stream, DocumentInfoOptions)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Stream, String)
Gets the document information.
Public methodCode exampleGetDocumentInfo(String, DocumentInfoOptions)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Uri, DocumentInfoOptions)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Stream, String, DocumentInfoOptions)
Gets the document information.
Public methodCode exampleGetDocumentInfo(Uri, WindowsAuthenticationCredential, DocumentInfoOptions)
Gets the document information.
Public methodCode exampleGetFile(String)
Get original file.
Public methodCode exampleGetFile(AttachmentBase)
Get contained file (attachment) from source document.
Public methodCode exampleGetFile(Stream, AttachmentBase)
Get contained file (attachment) using source document stream.
Public methodCode exampleGetFile(AttachmentBase, String)
Get contained file (attachment) from password protected source document.
Public methodCode exampleGetFile(Stream, AttachmentBase, String)
Get contained file (attachment) using source document stream and password.
Public methodCode exampleGetFileList
Retrieves the list of files and directories from the root storage path.
Public methodCode exampleGetFileList(FileListOptions)
Retrieves the list of files and directories from the custom path.
Protected methodGetHandlerSpecificPrintableHtml
Get mode specific (HTML or image) printable HTML.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetPages(Stream, RenderOptions)
Get list of pages representations from Stream using render options.
Protected methodGetPages(String, RenderOptions)
Get list of pages representations from guid using render options.
Protected methodGetPages(Uri, RenderOptions)
Get list of pages representations from uri using render options.
Protected methodGetPages(AttachmentBase, RenderOptions)
Get list of pages representations of the attachment using render options.
Protected methodGetPages(Stream, AttachmentBase, RenderOptions)
Get list of pages representations of the attachment using render options.
Protected methodGetPages(Stream, String, RenderOptions)
Get list of pages representations from Stream using file name and render options.
Protected methodGetPages(Uri, WindowsAuthenticationCredential, RenderOptions)
Get list of pages representations from uri with credentials using render options.
Public methodCode exampleGetPdfFile(Stream)
Gets the PDF file.
Public methodCode exampleGetPdfFile(String)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Uri)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Stream, PdfFileOptions)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Stream, String)
Gets the PDF file.
Public methodCode exampleGetPdfFile(String, PdfFileOptions)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Uri, PdfFileOptions)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Stream, String, PdfFileOptions)
Gets the PDF file.
Public methodCode exampleGetPdfFile(Uri, WindowsAuthenticationCredential, PdfFileOptions)
Gets the PDF file.
Public methodGetPrintableHtml(String)
Get document html for print.
Public methodCode exampleGetPrintableHtml(String, PrintableHtmlOptions)
Get document HTML for print.
Public methodCode exampleGetSupportedDocumentFormats
Gets supported document formats.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodGetUnlicensedViewCountExceededPage
Get unlicensed view count exceeded page.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleReorderPage(String, ReorderPageOptions)
Reorders the page.
Public methodCode exampleReorderPage(String, ReorderPageOptions, RenderOptions)
Reorders the page.
Public methodCode exampleRotatePage(String, RotatePageOptions)
Rotates the page.
Public methodCode exampleRotatePage(String, RotatePageOptions, RenderOptions)
Rotates the page.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Protected fieldCacheDataHandler
The cache data handler.
Protected fieldInputDataHandler
The input data handler.
Protected fieldViewerConfig
The viewer configuration.
See Also