PdfViewer
Wisej.Web.PdfViewer
Last updated
Was this helpful?
Wisej.Web.PdfViewer
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a 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 class.
: Indicates the border style for the control. (Default: None
)
You can use the following placeholders in the ViewerURL string:
[source]: Replaced with the postback URL to the PdfViewer control that serves the PDF content.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
: Returns or sets the file name used in the "Content-Disposition" header when returning the PDF content to the PDF viewer. The name may be used when downloading the file, depending on the type of PDF viewer loaded in the browser. Since 3.5.5
When is not assigned, the PdfViewer will use the file name extracted from the property. When using the instead, the file name is left blank unless specified using the property.
: Returns or sets the pdf file name to display in the control. (Default: ""
)
: Returns or sets the pdf stream to display in the control.
: Returns or sets the to use on the client. (Default: Auto
)
: Returns or sets the URL of the PDF viewer to use on the client. It's required when is , optional for or , and not used for . (Default: ""
)
[filename]: Replaced with the value of and the ".pdf" extension in case the file name doesn't specify an extension.
Fired when the PdfSource property is changed.
All wisej controls derived from the class must implement this interface.