Click or drag to resize

PdfWebControlLite Class

RAD PDF Web Form Control Lite
Inheritance Hierarchy
SystemObject
  RadPdf.Web.UIPdfWebControlLite

Namespace:  RadPdf.Web.UI
Assembly:  RadPdfStandard (in RadPdfStandard.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
public sealed class PdfWebControlLite

The PdfWebControlLite type exposes the following members.

Constructors
  NameDescription
Public methodPdfWebControlLite
Initializes a new instance of the PdfWebControlLite class.
Top
Properties
  NameDescription
Public propertyBackColor
Gets or sets the background color of the Web server control.
Public propertyBasePath
Gets or sets a value representing the base path added to RAD PDF Http Handler requests made by this PdfWebControlLite.
Public propertyClientID
Gets the control ID for HTML markup that is generated by ASP.NET.
Public propertyClientIDSeparator
Gets a character value representing the separator character used in the ClientID property.
Public propertyCollapseTools
Gets or sets a value indicating whether the tools dialog can collapse and drop down when in use in the PdfWebControlLite viewer.
Public propertyCollapsibleViewerSide
Gets or sets a value indicating whether the viewer panel (e.g. Thumbnails, Bookmarks, etc.) can collapse (when the already active icon is clicked) in the PdfWebControlLite viewer.
Public propertyCspSaferRendering
Gets or sets a value representing if the PdfWebControlLite control should be rendered without inline scripts or styles, allowing for safer compliance with a CSP (Content Security Policy).
Public propertyCultureName
Gets or sets a value representing the culture name of the language used by this PdfWebControlLite.
Public propertyDisableDatePicker
Gets or sets a value indicating whether the date picker drop down should be disabled for date formatted form fields in this PdfWebControlLite.
Public propertyDisableKeyboardShortcuts
Gets or sets a value indicating whether keyboard shortcuts in this PdfWebControlLite are disabled.
Public propertyDisableLinks
Gets or sets a value indicating whether links in the document loaded in this PdfWebControlLite are disabled.
Public propertyDisableLinkWarning
Gets or sets a value indicating whether a warning is shown in this PdfWebControlLite when URL links are clicked.
Public propertyDisableLoadThumbnailsOnDemand
Gets or sets a value indicating whether thumbnails in this PdfWebControlLite are loaded as needed (on demand) or all at once.
Public propertyDisableMoreButton
Gets or sets a value indicating whether the "More" button should be disabled and hidden in this PdfWebControlLite.
Public propertyDisableMultiAdd
Gets or sets a value indicating whether mutliple objects can be added in a row using the PdfWebControlLite.
Public propertyDisablePageLabels
Gets or sets a value indicating whether page labels embedded in the PDF file should be used instead of the default "# of #" format for page labels in a PdfWebControlLite instance.
Public propertyDisablePdfJavaScript
Gets or sets a value indicating whether JavaScript from the PDF document loaded in this PdfWebControlLite is disabled.
Public propertyDisablePreloading
Gets or sets a value indicating whether the next page should be preloaded in a PdfWebControlLite.
Public propertyDisableResponsive
Gets or sets a value indicating whether the responsive features should be used in PdfWebControl for various devices and screen sizes.
Public propertyDisableResponsiveAdditions
Gets or sets a value indicating whether the responsive features specific to adding objects should be used in PdfWebControlLite for various devices and screen sizes.
Public propertyDisableTouchGestures
Gets or sets a value indicating whether touch gestures (e.g. pinch-to-zoom page) in this PdfWebControlLite is disabled.
Public propertyDocumentKey
Gets or sets a value indicating the document key for this PDF document.
Public propertyDocumentLoaded
Gets a value indicating whether a document is loaded and ready for use in this PdfWebControlLite instance.
Public propertyDocumentPasswordPending
Gets a value indicating whether the current document is not yet loaded because a password is needed.
Public propertyDocumentProperties
Gets a PdfDocumentProperties class containing common properties describing the document currently loaded.
Public propertyDocumentSession
Gets a PdfLiteSession class containing session information about the loaded document if DocumentLoaded is true in this PdfWebControlLite instance; otherwise null.
Public propertyEnableHtmlColorInput
Gets or sets a value indicating whether a user can input an HTML color directly in the PdfWebControlLite color picker.
Public propertyEnablePathMerging
Gets or sets a value indicating whether a user drawn paths are merged into a single object when added in the PdfWebControl.
Public propertyEnablePrintSettingsDialog
Gets or sets a value indicating whether the print settings dialog is shown, instead of directly printing a document in a PdfWebControlLite viewer.
Public propertyEnableRedaction
Gets or sets a value indicating whether redaction options and tools are enabled in the PdfWebControlLite viewer.
Public propertyEnableRestoreAllPages
Gets or sets a value indicating whether the restore all pages button is shown in a PdfWebControlLite viewer.
Public propertyEnableUnloadWarning
Gets or sets a value indicating whether a warning is shown when attempt to leave the current page..
Public propertyHeight
Gets or sets the height of the Web server control.
Public propertyHideBookmarks
Gets or sets a value indicating whether the left bookmark side panel in the PdfWebControlLite viewer is disabled and hidden.
Public propertyHideBottomBar
Gets or sets a value indicating whether the bottom tool bar (which contains the search box and page navigation buttons) in the PdfWebControlLite viewer is hidden.
Public propertyHideDownloadButton
Gets or sets a value indicating whether all download buttons in the PdfWebControlLite viewer are hidden.
Public propertyHideEditMenu
Gets or sets a value indicating whether the edit menu in the PdfWebControlLite viewer is hidden.
Public propertyHideEmbeddedFiles
Gets or sets a value indicating whether the left embedded files side panel in the PdfWebControlLite viewer is disabled and hidden.
Public propertyHideFileMenu
Gets or sets a value indicating whether the file menu in the PdfWebControlLite viewer is hidden.
Public propertyHideFocusOutline
Gets or sets a value indicating whether an outline is hidden when an object is in focus.
Public propertyHideHandScroll
Gets or sets a value indicating whether the hand scroll button in the PdfWebControlLite viewer is hidden.
Public propertyHideObjectPropertiesBar
Gets or sets a value indicating whether the object property bar should always be hidden (even when an object is selected) in the PdfWebControlLite viewer is hidden.
Public propertyHidePrintButton
Gets or sets a value indicating whether all print buttons in the PdfWebControlLite viewer are hidden.
Public propertyHideRightClickMenu
Gets or sets a value indicating whether or not the PdfWebControlLite's custom drop down menu is shown when an element is right clicked.
Public propertyHideSaveButton
Gets or sets a value indicating whether all save buttons in the PdfWebControlLite viewer are hidden.
Public propertyHideSearchText
Gets or sets a value indicating whether the search box and buttons in the PdfWebControlLite viewer is hidden.
Public propertyHideSelectText
Gets or sets a value indicating whether the text selection button in the PdfWebControlLite viewer is hidden.
Public propertyHideSideBar
Gets or sets a value indicating whether the left tool sidebar in the PdfWebControlLite viewer is hidden.
Public propertyHideThumbnails
Gets or sets a value indicating whether the left thumbnail side panel in the PdfWebControlLite viewer is disabled and hidden.
Public propertyHideTips
Gets or sets a value indicating whether tips in the PdfWebControlLite viewer are hidden.
Public propertyHideToggleHighlightsButton
Gets or sets a value indicating whether buttons which toggle form / annotation highlights in the PdfWebControlLite viewer are hidden.
Public propertyHideToolsAnnotateTab
Gets or sets a value indicating whether the "Annotate" tools tab in the PdfWebControlLite viewer is hidden.
Public propertyHideToolsInsertTab
Gets or sets a value indicating whether the "Insert" tools tab in the PdfWebControlLite viewer is hidden.
Public propertyHideToolsMenu
Gets or sets a value indicating whether the tools menu in the PdfWebControlLite viewer is hidden.
Public propertyHideToolsPageTab
Gets or sets a value indicating whether the "Page" tools tab in the PdfWebControlLite viewer is hidden.
Public propertyHideToolsTabs
Gets or sets a value indicating whether all the tools tabs (HideToolsInsertTab, HideToolsAnnotateTab, & HideToolsPageTab tabs) in the PdfWebControlLite viewer are hidden.
Public propertyHideTopBar
Gets or sets a value indicating whether the top tool bar in the PdfWebControl viewer is hidden.
Public propertyHideTopMenus
Gets or sets a value indicating whether the top tool menu in the PdfWebControl viewer is hidden, allowing for view and text tools to be slimmed down.
Public propertyHideViewMenu
Gets or sets a value indicating whether the view menu in the PdfWebControlLite viewer is hidden.
Public propertyID
Gets or sets the programmatic identifier assigned to the server control.
Public propertyOnClientLoad
Gets or sets a value indicating a client side script to execute on load.
Public propertyRenderAtClient
Gets or sets a value indicating whether RAD PDF should render all PDF resources client side.
Public propertyRenderAtClientForPrinting
Gets or sets a value indicating whether RAD PDF should render pages for printing client side.
Public propertyRenderAtClientForViewing
Gets or sets a value indicating whether RAD PDF should render pages and text for the viewer client side.
Public propertyShowSignatureShapeTool
Gets or sets a value indicating whether the signatures shape tool should be shown in the PdfWebControlLite viewer.
Public propertyTabToNextPage
Gets or sets a value indicating whether a user can tab from one page to the next.
Public propertyTabTopToBottom
Gets or sets a value indicating whether the document specified form field tab order is overridden in favor of top to bottom.
Public propertyTheme
Gets or sets a value indicating which theme should be used in a PdfWebControlLite instance.
Public propertyUndoLevels
Gets or sets a value indicating the number of undo levels in this PdfWebControlLite.
Public propertyUniqueID
Gets the unique, hierarchically qualified identifier for the server control.
Public propertyViewerHighlightsDefault
Gets or sets a value indicating whether form field and link highlights will initially be shown in the PdfWebControlLite instance.
Public propertyViewerNamedDestinationDefault
Gets or sets a value indicating the default document named destination which a PdfWebControlLite instance should initially navigate to.
Public propertyViewerPageDefault
Gets or sets a value indicating the default document page which a PdfWebControlLite instance should initially open.
Public propertyViewerPageLayoutDefault
Gets or sets a value indicating the default document page layout which a PdfWebControlLite instance should initially use.
Public propertyViewerScrollXDefault
Gets or sets a value indicating the horizontal scroll position on ViewerPageDefault which a PdfWebControlLite instance should initially be shown.
Public propertyViewerScrollYDefault
Gets or sets a value indicating the vertical scroll position on ViewerPageDefault which a PdfWebControlLite instance should initially be shown.
Public propertyViewerSideDefault
Gets or sets a value indicating whether the side panel (if any) which a PdfWebControlLite instance should initially be shown.
Public propertyViewerZoomDefault
Gets or sets a value indicating the default zoom level which a PdfWebControlLite instance should initially use.
Public propertyWidth
Gets or sets the width of the Web server control.
Top
Methods
  NameDescription
Public methodCloseDocument
Close document (if any was created or loaded) reseting the DocumentKey.
Public methodCode exampleCopyDocument
Copy an existing a previously loaded PDF document to a new document instance and load it
Public methodCode exampleCreateDocument(String, Byte)
Create and load new document from binary data.
Public methodCode exampleCreateDocument(String, Stream)
Create and load new document from stream.
Public methodCode exampleCreateDocument(String, Byte, PdfLiteSettings)
Create and load new document from binary data and document settings.
Public methodCode exampleCreateDocument(String, Int32, PdfPageSize)
Create and load a new blank PDF document.
Public methodCode exampleCreateDocument(String, Stream, PdfLiteSettings)
Create and load new document from stream and document settings.
Public methodCode exampleCreateDocument(String, Byte, PdfLiteSettings, String)
Create and load new document from binary data and document settings.
Public methodCode exampleCreateDocument(String, Int32, PdfPageSize, PdfLiteSettings)
Create and load a new blank PDF document.
Public methodCode exampleCreateDocument(String, Stream, PdfLiteSettings, String)
Create and load new document from stream and document settings.
Public methodCode exampleCreateEmptyDocument
Create empty document container to which the user can upload any PDF document, using the file name as uploaded
Public methodCode exampleCreateEmptyDocument(String)
Create empty document container to which the user can upload any PDF document
Public methodCode exampleCreateEmptyDocument(PdfLiteSettings)
Create empty document container to which the user can upload any PDF document, using the file name as uploaded
Public methodCode exampleCreateEmptyDocument(String, PdfLiteSettings)
Create empty document container to which the user can upload any PDF document
Public methodCode exampleEditDocument
Edit a PDF document before it is displayed in a PdfWebControlLite instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOriginalPdf
Retrieves the previously loaded PDF document with no modifications, as a PDF.
Public methodGetPdf
Retrieves a previously loaded PDF document with all saved modifications, as a PDF.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportDocument(Byte)
Import a previously exported PDF document to a new document instance and load it.
Public methodImportDocument(Byte, PdfLiteSettings)
Import a previously exported PDF document to a new document instance and load it.
Public methodCode exampleLoadDocument
Load document using the session info of a previously loaded Lite Document.
Public methodCode exampleRenderControl
Renders the PdfWebControlLite to a string, for use in advanced applications such as a Custom HttpHandler, inline ASPX pages, or ASP.NET MVC view rendering.
Public methodCode exampleRenderControl(TextWriter)
Renders the PdfWebControlLite to the specified text writer, for use in advanced applications such as a Custom HttpHandler or ASP.NET MVC view rendering.
Public methodRenderFrameUrl
Gets a value representing the URL of the IFRAME which RAD PDF is using internally to display the document instance.
Public methodStatic memberCode exampleRenderHead
Renders the PdfWebControlLite required HTML HEAD elements (e.g. script, style, etc.) to the specified text writer, for use in advanced applications such as a Custom HttpHandler, inline ASPX pages, or ASP.NET MVC view rendering.
Public methodStatic memberCode exampleRenderHead(TextWriter)
Renders the PdfWebControlLite required HTML HEAD elements (e.g. script, style, etc.) to the specified text writer, for use in advanced applications such as a Custom HttpHandler or ASP.NET MVC view rendering.
Public methodStatic memberRenderHeadUrl
Gets a value representing the URL of the HEAD SCRIPT which RAD PDF generates for Client API usage.
Public methodRenderViewStateJson
Gets a value representing the viewstate of a RAD PDF instance.
Public methodToString
Returns a string that represents the current object rendered to HTML.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberVersion
Represents the assembly version of this build, as a string.
Public fieldStatic memberViewerPageDefaultValue
Represents the default page to be shown in a PdfWebControlLite (the document's default should be used).
Public fieldStatic memberViewerPageLayoutDefaultValue
Represents the default page layout to be shown in a PdfWebControlLite (the document's default should be used).
Public fieldStatic memberViewerScrollDefaultValue
Represents the default scroll position for a PdfWebControlLite (the document's default should be used).
Top
Remarks

This class and its members should only be used in a web application setup for a PdfWebControlLite instance.

When using the PdfWebControlLite, either the RAD PDF System Service Storage must be enabled or a custom PdfLiteStorageProvider implemented.

See Also