Click or drag to resize

PdfWebControl Class

RAD PDF Web Form Control
Inheritance Hierarchy

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
public sealed class PdfWebControl : WebControl, 
	ICallbackEventHandler

The PdfWebControl type exposes the following members.

Constructors
  NameDescription
Public methodPdfWebControl
Initializes a new instance of the PdfWebControl class.
Top
Properties
  NameDescription
Public propertyAccessKey
Gets or sets the access key that allows you to quickly navigate to the Web server control.
(Inherited from WebControl.)
Protected propertyAdapter
Gets the browser-specific adapter for the control.
(Inherited from Control.)
Public propertyAllowFindMatchingPdf
Gets or sets a value indicating whether a PdfWebControl instance should use a hashing algorithm to try and find an identical copy of the PDF previously used and re-use its already generated resources.
Public propertyAppRelativeTemplateSourceDirectory
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.)
Public propertyAttributes
Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
(Inherited from WebControl.)
Public propertyBackColor
Gets or sets the background color of the Web server control.
(Overrides WebControlBackColor.)
Public propertyBindingContainer
Gets the control that contains this control's data binding.
(Inherited from Control.)
Public propertyBorderColor
Gets or sets the border color of the Web control.
(Inherited from WebControl.)
Public propertyBorderStyle
Gets or sets the border style of the Web server control.
(Inherited from WebControl.)
Public propertyBorderWidth
Gets or sets the border width of the Web server control.
(Inherited from WebControl.)
Protected propertyChildControlsCreated
Gets a value that indicates whether the server control's child controls have been created.
(Inherited from Control.)
Public propertyClientID
Gets the server control identifier generated by ASP.NET.
(Inherited from Control.)
Protected propertyClientIDSeparator
Gets a character value representing the separator character used in the ClientID property.
(Inherited from Control.)
Public propertyCollapseTools
Gets or sets a value indicating whether the tools dialog can collapse and drop down when in use in the PdfWebControl 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 PdfWebControl viewer.
Protected propertyContext
Gets the HttpContext object associated with the server control for the current Web request.
(Inherited from Control.)
Public propertyControls
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.)
Public propertyControlStyle
Gets the style of the Web server control. This property is used primarily by control developers.
(Inherited from WebControl.)
Public propertyControlStyleCreated
Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
(Inherited from WebControl.)
Public propertyConvertImageToPdf
Gets or sets a value indicating whether a PdfWebControl instance should convert supported image types to PDF automatically if used with CreateDocument(String, Byte).
Public propertyConvertXfaForm
Gets or sets a value indicating whether a PdfWebControl instance should convert XFA PDF forms to the more commonly used AcroForms standard.
Public propertyCssClass
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Inherited from WebControl.)
Public propertyCultureName
Gets or sets a value representing the culture name of the language used by this PdfWebControl.
Protected propertyDesignMode
Gets a value indicating whether a control is being used on a design surface.
(Inherited from Control.)
Public propertyDisableKeyboardShortcuts
Gets or sets a value indicating whether keyboard shortcuts in this PdfWebControl are disabled.
Public propertyDisableLinks
Gets or sets a value indicating whether links in the document loaded in this PdfWebControl are disabled.
Public propertyDisableLinkWarning
Gets or sets a value indicating whether a warning is shown in this PdfWebControl when URL links are clicked.
Public propertyDisableLoadThumbnailsOnDemand
Gets or sets a value indicating whether thumbnails in this PdfWebControl are loaded as needed (on demand) or all at once.
Public propertyDisableMoreButton
Gets or sets a value indicating whether a the "More" button should be disabled and hidden in this PdfWebControl.
Public propertyDisablePdfJavaScript
Gets or sets a value indicating whether JavaScript from the PDF document loaded in this PdfWebControl is disabled.
Public propertyDocumentFileName
Document file name of the currently loaded document.
Public propertyDocumentID
Document ID of the currently loaded document. This Document ID can be used with the LoadDocument(Int32) or CopyDocument(Int32, Boolean) functions.
Public propertyDocumentKey
Gets or sets a value indicating the document key for this PDF document.
Public propertyDocumentKeyMaxAge
Gets or sets a value indicating the maximum age which a document key is valid before it expires
Public propertyDocumentLoaded
Gets a value indicating whether a document is loaded and ready for use in this PdfWebControl 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 propertyEnabled
Gets or sets a value indicating whether the Web server control is enabled.
(Inherited from WebControl.)
Public propertyEnableHtmlColorInput
Gets or sets a value indicating whether a user can input an HTML color directly in the PdfWebControl color picker.
Public propertyEnablePrintSettingsDialog
Gets or sets a value indicating whether the print settings dialog is shown, instead of directly printing a document in a PdfWebControl viewer.
Public propertyEnableRestoreAllPages
Gets or sets a value indicating whether the restore all pages button is shown in a PdfWebControl viewer.
Public propertyEnableTheming
Gets or sets a value indicating whether themes apply to this control.
(Inherited from WebControl.)
Public propertyEnableUnloadWarning
Gets or sets a value indicating whether a warning is shown when attempt to leave the current page..
Public propertyEnableViewState
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
(Inherited from Control.)
Protected propertyEvents
Gets a list of event handler delegates for the control. This property is read-only.
(Inherited from Control.)
Public propertyFont
Gets the font properties associated with the Web server control.
(Inherited from WebControl.)
Public propertyForeColor
Gets or sets the foreground color (typically the color of the text) of the Web server control.
(Inherited from WebControl.)
Public propertyGroupThumbnails
Gets or sets a value indicating whether the server should render PDF thumbnails in a group for PdfWebControl instances.
Public propertyHasAttributes
Gets a value indicating whether the control has attributes set.
(Inherited from WebControl.)
Protected propertyHasChildViewState
Gets a value indicating whether the current server control's child controls have any saved view-state settings.
(Inherited from Control.)
Public propertyHeight
Gets or sets the height of the Web server control.
(Inherited from WebControl.)
Public propertyHideBookmarks
Gets or sets a value indicating whether the left bookmark side panel in the PdfWebControl 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 PdfWebControl viewer is hidden.
Public propertyHideDownloadButton
Gets or sets a value indicating whether all download buttons in the PdfWebControl viewer are hidden.
Public propertyHideEditMenu
Gets or sets a value indicating whether the edit menu in the PdfWebControl viewer is hidden.
Public propertyHideFileMenu
Gets or sets a value indicating whether the file menu in the PdfWebControl 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 PdfWebControl 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 PdfWebControl viewer is hidden.
Public propertyHidePrintButton
Gets or sets a value indicating whether all print buttons in the PdfWebControl viewer are hidden.
Public propertyHideRightClickMenu
Gets or sets a value indicating whether or not the PdfWebControl'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 PdfWebControl viewer are hidden.
Public propertyHideSearchText
Gets or sets a value indicating whether the search box and buttons in the PdfWebControl viewer is hidden.
Public propertyHideSelectText
Gets or sets a value indicating whether the text selection button in the PdfWebControl viewer is hidden.
Public propertyHideSideBar
Gets or sets a value indicating whether the left tool sidebar in the PdfWebControl viewer is hidden.
Public propertyHideThumbnails
Gets or sets a value indicating whether the left thumbnail side panel in the PdfWebControl viewer is disabled and hidden.
Public propertyHideTips
Gets or sets a value indicating whether tips in the PdfWebControl viewer are hidden.
Public propertyHideToggleHighlightsButton
Gets or sets a value indicating whether buttons which toggle form / annotation highlights in the PdfWebControl viewer are hidden.
Public propertyHideToolsAnnotateTab
Gets or sets a value indicating whether the "Annotate" tools tab in the PdfWebControl viewer is hidden.
Public propertyHideToolsInsertTab
Gets or sets a value indicating whether the "Insert" tools tab in the PdfWebControl viewer is hidden.
Public propertyHideToolsMenu
Gets or sets a value indicating whether the tools menu in the PdfWebControl viewer is hidden.
Public propertyHideToolsPageTab
Gets or sets a value indicating whether the "Page" tools tab in the PdfWebControl viewer is hidden.
Public propertyHideToolsTabs
Gets or sets a value indicating whether all the tools tabs (HideToolsInsertTab, HideToolsAnnotateTab, & HideToolsPageTab tabs) in the PdfWebControl viewer are hidden.
Public propertyHideTopBar
Gets or sets a value indicating whether the top tool bar in the PdfWebControl viewer is hidden.
Public propertyHideViewMenu
Gets or sets a value indicating whether the view menu in the PdfWebControl viewer is hidden.
Public propertyID
Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.)
Protected propertyIdSeparator
Gets the character used to separate control identifiers.
(Inherited from Control.)
Protected propertyIsChildControlStateCleared
Gets a value indicating whether controls contained within this control have control state.
(Inherited from Control.)
Protected propertyIsEnabled
Gets a value indicating whether the control is enabled.
(Inherited from WebControl.)
Protected propertyIsTrackingViewState
Gets a value that indicates whether the server control is saving changes to its view state.
(Inherited from Control.)
Protected propertyIsViewStateEnabled
Gets a value indicating whether view state is enabled for this control.
(Inherited from Control.)
Protected propertyLoadViewStateByID
Gets a value indicating whether the control participates in loading its view state by ID instead of index.
(Inherited from Control.)
Public propertyMaxPdfPageHeight
Public propertyMaxPdfPages
Public propertyMaxPdfPageWidth
Public propertyNamingContainer
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
(Inherited from Control.)
Public propertyOnClientLoad
Gets or sets a value indicating a client side script to execute on load.
Public propertyPage
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.)
Public propertyParent
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.)
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 propertyRenderDpi
Gets or sets a value indicating the resolution in dots per inch (DPI) with which a new PDF document should be rendered.
Public propertyRenderOnDemand
Gets or sets a value indicating whether the server should render PDF pages as they are needed by PdfWebControl instances.
Public propertyRenderTextOnDemand
Gets or sets a value indicating whether the server should extract and render PDF text as needed by PdfWebControl instances.
Public propertyRenderThumbnailsOnDemand
Gets or sets a value indicating whether the server should render PDF thumbnails as they are needed by PdfWebControl instances.
Public propertyRenderUnsupportedPdfFeatures
Gets or sets a value indicating whether the server should attempt to render PDF features to the uneditable background if they are not yet supported in a PdfWebControl instance.
Public propertyShowSignatureShapeTool
Gets or sets a value indicating whether the signatures shape tool should be shown in the PdfWebControl viewer.
Public propertySite
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.)
Public propertySkinID
Gets or sets the skin to apply to the control.
(Inherited from WebControl.)
Public propertyStyle
Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
(Inherited from WebControl.)
Public propertyTabIndex
Gets or sets the tab index of the Web server control.
(Inherited from WebControl.)
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.
Protected propertyTagKey
Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.
(Inherited from WebControl.)
Protected propertyTagName
Gets the name of the control tag. This property is used primarily by control developers.
(Inherited from WebControl.)
Public propertyTemplateControl
Gets or sets a reference to the template that contains this control.
(Inherited from Control.)
Public propertyTemplateSourceDirectory
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.)
Public propertyThrowMaxPagesException
Public propertyThrowPasswordException
Public propertyThrowXfaFormException
Public propertyToolTip
Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
(Inherited from WebControl.)
Public propertyUndoLevels
Gets or sets a value indicating the number of undo levels in this PdfWebControl.
Public propertyUniqueID
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control.)
Public propertyViewerHighlightsDefault
Gets or sets a value indicating whether form field and link highlights will initially be shown in the PdfWebControl instance.
Public propertyViewerNamedDestinationDefault
Gets or sets a value indicating the default document named destination which a PdfWebControl instance should initially navigate to.
Public propertyViewerPageDefault
Gets or sets a value indicating the default document page which a PdfWebControl instance should initially open.
Public propertyViewerPageLayoutDefault
Gets or sets a value indicating the default document page layout which a PdfWebControl instance should initially use.
Public propertyViewerScrollXDefault
Gets or sets a value indicating the horizontal scroll position on ViewerPageDefault which a PdfWebControl instance should initially be shown.
Public propertyViewerScrollYDefault
Gets or sets a value indicating the vertical scroll position on ViewerPageDefault which a PdfWebControl instance should initially be shown.
Public propertyViewerSideDefault
Gets or sets a value indicating whether the side panel (if any) which a PdfWebControl instance should initially be shown.
Public propertyViewerZoomDefault
Gets or sets a value indicating the default zoom level which a PdfWebControl instance should initially use.
Protected propertyViewState
Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
(Inherited from Control.)
Protected propertyViewStateIgnoresCase
Gets a value that indicates whether the StateBag object is case-insensitive.
(Inherited from Control.)
Public propertyVisible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control.)
Public propertyWidth
Gets or sets the width of the Web server control.
(Inherited from WebControl.)
Top
Methods
  NameDescription
Protected methodAddAttributesToRender
Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers.
(Inherited from WebControl.)
Protected methodAddedControl
Called after a child control is added to the Controls collection of the Control object.
(Inherited from Control.)
Protected methodAddParsedSubObject
Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
(Inherited from Control.)
Public methodApplyStyle
Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
(Inherited from WebControl.)
Public methodApplyStyleSheetSkin
Applies the style properties defined in the page style sheet to the control.
(Inherited from Control.)
Protected methodBuildProfileTree
Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
(Inherited from Control.)
Protected methodClearChildControlState
Deletes the control-state information for the server control's child controls.
(Inherited from Control.)
Protected methodClearChildState
Deletes the view-state and control-state information for all the server control's child controls.
(Inherited from Control.)
Protected methodClearChildViewState
Deletes the view-state information for all the server control's child controls.
(Inherited from Control.)
Public methodCloseDocument
Close document (if any was created or loaded) reseting the DocumentID and DocumentKey.
Public methodCopyBaseAttributes
Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
(Inherited from WebControl.)
Public methodCode exampleCopyDocument(Int32)
Copy an existing a previously loaded PDF document to a new document instance and load it
Public methodCode exampleCopyDocument(Int32, Boolean)
Copy an existing a previously loaded PDF document to a new document instance and load it
Public methodCode exampleCopyDocument(Int32, Boolean, PdfDocumentSettings)
Copy an existing a previously loaded PDF document to a new document instance and load it
Protected methodCreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Inherited from Control.)
Protected methodCreateControlCollection
Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
(Inherited from Control.)
Protected methodCreateControlStyle
Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers.
(Inherited from WebControl.)
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, PdfDocumentSettings)
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, PdfDocumentSettings)
Create and load new document from stream and document settings.
Public methodCode exampleCreateDocument(String, Byte, PdfDocumentSettings, String)
Create and load new document from binary data and document settings.
Public methodCode exampleCreateDocument(String, Int32, PdfPageSize, PdfDocumentSettings)
Create and load a new blank PDF document.
Public methodCode exampleCreateDocument(String, Stream, PdfDocumentSettings, String)
Create and load new document from stream and document settings.
Public methodDataBind
Binds a data source to the invoked server control and all its child controls.
(Inherited from Control.)
Protected methodDataBind(Boolean)
Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.
(Inherited from Control.)
Protected methodDataBindChildren
Binds a data source to the server control's child controls.
(Inherited from Control.)
Public methodDispose
Enables a server control to perform final clean up before it is released from memory.
(Inherited from Control.)
Public methodCode exampleEditDocument
Edit a PDF document before it is displayed in a PdfWebControl instance.
Protected methodEnsureChildControls
Determines whether the server control contains child controls. If it does not, it creates child controls.
(Inherited from Control.)
Protected methodEnsureID
Creates an identifier for controls that do not have an identifier assigned.
(Inherited from Control.)
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.)
Public methodFindControl(String)
Searches the current naming container for a server control with the specified id parameter.
(Inherited from Control.)
Protected methodFindControl(String, Int32)
Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.
(Inherited from Control.)
Public methodFocus
Sets input focus to a control.
(Inherited from Control.)
Public methodGetCallbackResult
Returns the results of a callback event that targets a control.
Protected methodGetDesignModeState
Gets design-time data for a control.
(Inherited from Control.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodHasControls
Determines if the server control contains any child controls.
(Inherited from Control.)
Protected methodHasEvents
Returns a value indicating whether events are registered for the control or any child controls.
(Inherited from Control.)
Public methodImportDocument
Import a previously exported PDF document to a new document instance and load it.
Protected methodIsLiteralContent
Determines if the server control holds only literal content.
(Inherited from Control.)
Protected methodLoadControlState
Restores control-state information from a previous page request that was saved by the SaveControlState method.
(Overrides ControlLoadControlState(Object).)
Public methodCode exampleLoadDocument
Load document using the document ID of a previously loaded PDF document
Protected methodLoadViewState
Restores view-state information from a previous page request that was saved by the SaveViewState method.
(Overrides WebControlLoadViewState(Object).)
Protected methodMapPathSecure
Retrieves the physical path that a virtual path, either absolute or relative, maps to.
(Inherited from Control.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMergeStyle
Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
(Inherited from WebControl.)
Protected methodOnBubbleEvent
Determines whether the event for the server control is passed up the page's UI server control hierarchy.
(Inherited from Control.)
Protected methodOnDataBinding
Raises the DataBinding event.
(Inherited from Control.)
Protected methodOnInit
Raises the Init event.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnLoad
Raises the Load event.
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreRender
Raises the PreRender event.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodOnUnload
Raises the Unload event.
(Inherited from Control.)
Protected methodOpenFile
Gets a Stream used to read a file.
(Inherited from Control.)
Protected methodRaiseBubbleEvent
Assigns any sources of the event and its information to the control's parent.
(Inherited from Control.)
Public methodRaiseCallbackEvent
Processes a callback event that targets a control.
Protected methodRemovedControl
Called after a child control is removed from the Controls collection of the Control object.
(Inherited from Control.)
Protected methodRender
Renders the PdfWebControl to the specified HTML writer.
(Overrides WebControlRender(HtmlTextWriter).)
Public methodRenderBeginTag
Renders the HTML opening tag of the control to the specified writer.
(Overrides WebControlRenderBeginTag(HtmlTextWriter).)
Protected methodRenderChildren
Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Overrides ControlRenderChildren(HtmlTextWriter).)
Protected methodRenderContents
Renders the contents of the control to the specified writer.
(Overrides WebControlRenderContents(HtmlTextWriter).)
Public methodCode exampleRenderControl
Renders the PdfWebControl to a string, for use in advanced applications such as a Custom HttpHandler, inline ASPX pages, or ASP.NET MVC view rendering.
Public methodRenderControl(HtmlTextWriter)
Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
(Inherited from Control.)
Public methodCode exampleRenderControl(TextWriter)
Renders the PdfWebControl to the specified text writer, for use in advanced applications such as a Custom HttpHandler or ASP.NET MVC view rendering.
Protected methodRenderControl(HtmlTextWriter, ControlAdapter)
Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.
(Inherited from Control.)
Public methodRenderEndTag
Renders the HTML closing tag of the control into the specified writer.
(Overrides WebControlRenderEndTag(HtmlTextWriter).)
Public methodStatic memberCode exampleRenderHead
Renders the PdfWebControl 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 PdfWebControl 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.
Protected methodResolveAdapter
Gets the control adapter responsible for rendering the specified control.
(Inherited from Control.)
Public methodResolveClientUrl
Gets a URL that can be used by the browser.
(Inherited from Control.)
Public methodResolveUrl
Converts a URL into one that is usable on the requesting client.
(Inherited from Control.)
Protected methodSaveControlState
Saves any server control state changes that have occurred since the time the page was posted back to the server.
(Overrides ControlSaveControlState.)
Protected methodSaveViewState
Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
(Overrides WebControlSaveViewState.)
Protected methodSetDesignModeState
Sets design-time data for a control.
(Inherited from Control.)
Public methodSetRenderMethodDelegate
Assigns an event handler delegate to render the server control and its content into its parent control.
(Inherited from Control.)
Public methodToString
Returns a string that represents the current object rendered to HTML.
(Overrides ObjectToString.)
Protected methodTrackViewState
Causes the control to track changes to its view state so they can be stored in the object's ViewState property.
(Inherited from WebControl.)
Top
Events
  NameDescription
Public eventDataBinding
Occurs when the server control binds to a data source.
(Inherited from Control.)
Public eventDisposed
Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
(Inherited from Control.)
Public eventInit
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.)
Public eventLoad
Occurs when the server control is loaded into the Page object.
(Inherited from Control.)
Public eventPreRender
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.)
Public eventSaved
Informational event which occurs when a document is saved. This event is called via a client callback from a PdfWebControl and hence will only be raised in an ASP.NET Web Forms application.
Public eventUnload
Occurs when the server control is unloaded from memory.
(Inherited from Control.)
Top
Fields
  NameDescription
Public fieldStatic memberNoMaxPdfPageHeight
Represents a value indicating that no limit should be set on the maximum page height of pages in a document.
Public fieldStatic memberNoMaxPdfPages
Represents a value indicating that no limit should be set on the maximum number of pages in a document.
Public fieldStatic memberNoMaxPdfPageWidth
Represents a value indicating that no limit should be set on the maximum page width of pages in a document.
Public fieldStatic memberViewerPageDefaultValue
Represents the default page to be shown in a PdfWebControl (the document's default should be used).
Public fieldStatic memberViewerPageLayoutDefaultValue
Represents the default page layout to be shown in a PdfWebControl (the document's default should be used).
Public fieldStatic memberViewerScrollDefaultValue
Represents the default scroll position for a PdfWebControl (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 PdfWebControl instance.
See Also