Wisej.Web.PdfViewerType
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the type of Pdf viewer to use in the PdfViewer control.
Name | Description |
---|---|
Name | Description |
---|---|
Auto
The PDF viewer is selected by the client browser.
Custom
Use a custom viewer defined in the ViewerURL property. Use the [source] placeholder in the URL to indicate where to insert the URL to the file source.
Use Google's document viewer. The URL of the Google viewer can be changed in the ViewerURL property.
Mozilla
Use Mozilla PDF.js viewer. The URL of the Mozilla viewer can be changed in the ViewerURL property.
Returns or sets the PdfViewerType to use on the client.
Wisej.Web.PdfViewer
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a PdfViewer control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
Initializes a new instance of the PdfViewer class.
BorderStyle: Indicates the border style for the control. (Default: None
)
String: Returns or sets the pdf file name to display in the PdfViewer control. (Default: ""
)
Stream: Returns or sets the pdf stream to display in the PdfViewer control.
PdfViewerType: Returns or sets the PdfViewerType to use on the client. (Default: Auto
)
String: Returns or sets the URL of the viewer to use on the client when the value of ViewerType is set to Custom. (Default: ""
)
EventHandler Fired when the PdfSource property is changed.
Name | Description |
---|---|
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.