The C1PreviewPane type exposes the following members.

Methods

  Name Description
Public method AddCurrentViewStateToHistory
Creates a new ViewHistoryItem object using the current state of the C1PreviewPane.

The newly created object is then added to the ViewHistory collection. Adding of the new state to history is cancelled if the Document property of the current preview pane is null, or if the specified action should not be saved according to the SavedActions value of the current pane's HistoryOptions.

Adding of the new state to history can also be cancelled in the HistoryItemAdding event.

Public method AddViewStateToHistory
Creates a new ViewHistoryItem object with the specified ViewState.

The newly created object is then added to the ViewHistory collection.

Adding of the new state to history can be cancelled in the HistoryItemAdding event.

Public method BeginInvoke(Delegate)
Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
(Inherited from ControlControl.)
Public method BeginInvoke(Delegate, array<Object>[]()[][])
Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.
(Inherited from ControlControl.)
Public method BringToFront
Brings the control to the front of the z-order.
(Inherited from Control.)
Public method ClientToDocument
Converts a point in the current C1PreviewPane's client coordinates, to document coordinates.

Document coordinates are also pixels, but are relative to a specific page's left top corner, and do not depend on the current zoom factor.

For instance, a client point that is over a page's right top corner would yield a point with document coordinates (816,0) on a 96 DPI resolution display for a 8.5 in wide page (816 is 8.5 multiplied by 96), regardless of the current zoom factor or document scroll position in the preview.

Public method Contains
Retrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control.)
Public method CreateControl
Forces the creation of the control, including the creation of the handle and any child controls.
(Inherited from Control.)
Public method CreateGraphics
Creates the Graphics for the control.
(Inherited from Control.)
Public method DoCopySelection
Copies the current selection to clipboard.
Public method DoDragDrop
Begins a drag-and-drop operation.
(Inherited from Control.)
Public method DoEscape
Handles the Escape key (clears selection, resets mouse mode).
Public method DoGoHistoryBack
Goes back in history.
Public method DoGoHistoryForward
Goes forward in history.
Public method DoGoNextPage
Goes to next page.
Public method DoGoPreviousPage
Goes to previous page.
Public method DoScrollBottom
Scrolls to the end of the document.
Public method DoScrollDown
Scrolls down.
Public method DoScrollLeft
Scrolls left.
Public method DoScrollPageDown
Scrolls one page down.
Public method DoScrollPageUp
Scrolls one page up.
Public method DoScrollRight
Scrolls right.
Public method DoScrollTop
Scrolls to the top of the document.
Public method DoScrollUp
Scrolls up.
Public method DoSelectAll
Selects the whole document.
Public method DoZoomIn
Zooms in.
Public method DoZoomOut
Zooms out.
Public method DrawToBitmap
Supports rendering to the specified bitmap.
(Inherited from Control.)
Public method EndInvoke
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control.)
Public method FileOpen()()()()
Shows a file open dialog, allows the user to select a C1DX or C1D file, and loads the selected file into the current preview pane. If an exception occurs while loading the file, an error message is displayed, and the method returns false.
Public method FileOpen(String)
Loads the specified file (which must be a valid C1DX, C1D or C1MDX document) into the current preview pane.

If fileName does not exist or is a directory, shows the file open dialog and allows the user to select a file to load. In that case fileName specifies the initial directory for the dialog.

Public method FileSave()()()()
Saves the currently loaded document, allowing the user to select the file name and the output format, using the ExportOptions specified on the current preview pane.
Public method FileSave(String, ExportProvider)
Saves the currently loaded document into the specified fileName. If fileName is null or empty, or if exportProvider is null, shows the file save dialog allowing the user to select the file name and output format.

ExportOptions specified on the current preview pane are used when saving the document.

Public method FindForm
Retrieves the form that the control is on.
(Inherited from Control.)
Public method Focus
Sets input focus to the control.
(Inherited from Control.)
Public method GetChildAtPoint(Point)
Retrieves the child control that is located at the specified coordinates.
(Inherited from ControlControl.)
Public method GetChildAtPoint(Point, GetChildAtPointSkip)
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
(Inherited from ControlControl.)
Public method GetContainerControl
Returns the next ContainerControl up the control's chain of parent controls.
(Inherited from Control.)
Public method GetNextControl
Retrieves the next control forward or back in the tab order of child controls.
(Inherited from Control.)
Public method GetPageVisibility
Gets the percentage (from 0 to 100) of the area of the specified page that is currently visible in this C1PreviewPane. The returned value is rounded to 2 decimal digits.
Public method GetPreferredSize
Retrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control.)
Public method Hide
Conceals the control from the user.
(Inherited from Control.)
Public method HistoryBack
Goes back in history.
Public method HistoryForward
Goes forward in history.
Public method Invalidate()()()()
Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from ControlControl.)
Public method Invalidate(Region)
Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from ControlControl.)
Public method Invalidate(Boolean)
Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from ControlControl.)
Public method Invalidate(Rectangle)
Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from ControlControl.)
Public method Invalidate(Region, Boolean)
Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from ControlControl.)
Public method Invalidate(Rectangle, Boolean)
Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from ControlControl.)
Public method Invoke(Delegate)
Executes the specified delegate on the thread that owns the control's underlying window handle.
(Inherited from ControlControl.)
Public method Invoke(Delegate, array<Object>[]()[][])
Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
(Inherited from ControlControl.)
Public method LockHistory
Temporarily locks (suspends) adding of new items to ViewHistory. Note a matching call to UnlockHistory(HistorySavedActionsEnum, String) must exist for each call of this method.
Public method OnLongOperation
Raises the LongOperation event on the preview pane.
Public method PerformLayout()()()()
Forces the control to apply layout logic to all its child controls.
(Inherited from ControlControl.)
Public method PerformLayout(Control, String)
Forces the control to apply layout logic to all its child controls.
(Inherited from ControlControl.)
Public method PointToClient
Computes the location of the specified screen point into client coordinates.
(Inherited from Control.)
Public method PointToScreen
Computes the location of the specified client point into screen coordinates.
(Inherited from Control.)
Public method PreProcessControlMessage
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.)
Public method PreProcessMessage
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.)
Public method RectangleToClient
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control.)
Public method RectangleToScreen
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control.)
Public method Refresh
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control.)
Public method ResetBackColor
Resets the BackColor property to the default value.
(Overrides Control..::..ResetBackColor()()()().)
Public method ResetPagesFillColor
Resets the PagesFillColor to the default value.
Public method ResetPagesPadding
Resets the PagesPadding to the default value.
Public method ResetPagesPaddingSmall
Resets the PagesPaddingSmall to the default value.
Public method ResetSidesPadding
Resets the SidesPadding to the default value.
Public method ResetText
Resets the Text property to its default value.
(Inherited from Control.)
Public method ResetZoomSteps
Resets the ZoomSteps property to the default value.
Public method ResumeLayout()()()()
Resumes usual layout logic.
(Inherited from ControlControl.)
Public method ResumeLayout(Boolean)
Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from ControlControl.)
Public method ScrollControlIntoView
Scrolls the specified child control into view on an auto-scroll enabled control.
(Inherited from ScrollableControl.)
Public method Select
Activates the control.
(Inherited from Control.)
Public method SelectAll
Selects all text in the document currently loaded into this C1PreviewPane.
Public method SelectNextControl
Activates the next control.
(Inherited from Control.)
Public method SendToBack
Sends the control to the back of the z-order.
(Inherited from Control.)
Public method SetAutoScrollMargin
Sets the size of the auto-scroll margins.
(Inherited from ScrollableControl.)
Public method SetBounds(Int32, Int32, Int32, Int32)
Sets the bounds of the control to the specified location and size.
(Inherited from ControlControl.)
Public method SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)
Sets the specified bounds of the control to the specified location and size.
(Inherited from ControlControl.)
Public method SetFocus
Sets the input focus to the specified RenderInputFragment object. This method should be used only if the preview currently shows a C1PrintDocument.
Public method Show
Displays the control to the user.
(Inherited from Control.)
Public method ShowErrorMessage
Shows a dialog box with the exception message.
Public method SuspendLayout
Temporarily suspends the layout logic for the control.
(Inherited from Control.)
Public method ToString
Returns a string representation for this control.
(Inherited from Panel.)
Public method UnlockHistory
Unlocks (resumes) adding of new items to ViewHistory temporarily locked by a previous call to LockHistory()()()().
Public method Update
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.)
Public method UpdatePreview
Forces the preview pane to update the preview.

Properties

  Name Description
Public property AccessibilityObject
Gets the AccessibleObject assigned to the control.
(Inherited from Control.)
Public property AccessibleDefaultActionDescription
Gets or sets the default action description of the control for use by accessibility client applications.
(Inherited from Control.)
Public property AccessibleDescription
Gets or sets the description of the control used by accessibility client applications.
(Inherited from Control.)
Public property AccessibleName
Gets or sets the name of the control used by accessibility client applications.
(Inherited from Control.)
Public property AccessibleRole
Gets or sets the accessible role of the control
(Inherited from Control.)
Public property AllowDrop
Gets or sets a value indicating whether the control can accept data that the user drags onto it.
(Inherited from Control.)
Public property Anchor
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control.)
Public property AutoScroll
Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
(Inherited from ScrollableControl.)
Public property AutoScrollMargin
Gets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl.)
Public property AutoScrollMinSize
Gets or sets the minimum size of the auto-scroll.
(Inherited from ScrollableControl.)
Public property AutoScrollOffset
Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).
(Inherited from Control.)
Public property AutoScrollPosition
Gets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl.)
Public property AutoSize (Inherited from Panel.)
Public property AutoSizeMode
Indicates the automatic sizing behavior of the control.
(Inherited from Panel.)
Public property BackColor
Gets or sets the background color for the control.
(Overrides Control..::..BackColor.)
Public property BackgroundImage
Gets or sets the background image displayed in the control.
(Inherited from Control.)
Public property BackgroundImageLayout
Gets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from Control.)
Public property BindingContext
Gets or sets the BindingContext for the control.
(Inherited from Control.)
Public property BorderStyle
Indicates the border style for the control.
(Inherited from Panel.)
Public property Bottom
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control.)
Public property Bounds
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control.)
Public property Busy
Gets or sets the flag indicating whether the preview pane is currently busy. Some actions (especially those that could cause significant changes in the preview pane's state) raise this flag themselves, and cannot be performed when this flag was raised by another operation. This flag should be tested before attempting to change preview pane's properties or invoke methods on it.
Public property CanFocus
Gets a value indicating whether the control can receive focus.
(Inherited from Control.)
Public property CanSelect
Gets a value indicating whether the control can be selected.
(Inherited from Control.)
Public property Capture
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.)
Public property CausesValidation
Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
(Inherited from Control.)
Public property ClientRectangle
Gets the rectangle that represents the client area of the control.
(Inherited from Control.)
Public property ClientSize
Gets or sets the height and width of the client area of the control.
(Inherited from Control.)
Public property Cols
Gets or sets the number of page columns shown.
Public property CompanyName
Gets the name of the company or creator of the application containing the control.
(Inherited from Control.)
Public property CompatibilityOptions
Gets the CompatibilityOptions object which determines compatibility with previous versions of C1PreviewPane.
Public property ContainsFocus
Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
(Inherited from Control.)
Public property ContextMenu
Gets or sets the shortcut menu associated with the control.
(Inherited from Control.)
Public property ContextMenuStrip
Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this C1PreviewPane. If not explicitly set in code (i.e. null at design time), the default context menu will be used at runtime.
(Overrides Control..::..ContextMenuStrip.)
Public property Continuous
Gets or sets a value indicating whether to show document pages continuously.
Public property Controls
Gets the collection of controls contained within the control.
(Inherited from Control.)
Public property Created
Gets a value indicating whether the control has been created.
(Inherited from Control.)
Public property CurrentHistoryEntry
Gets or sets the current history entry.

Assigning to this property moves the preview pane in history. The value being assigned must be an element in the ViewHistory collection.

Note that in some situations the current history entry can not be changed (e.g. when the operation is attempted while the preview is changing its state). In those cases the set operation will be ignored.

Public property CurrentHistoryEntryIndex
Gets or sets the index of current history entry.

Assigning to this property moves the preview pane in history.

Note that in some situations the current history entry can not be changed (e.g. when the operation is attempted while the preview is changing its state). In those cases the set operation will be ignored.

Public property CurrentVisitedDocument
Gets or sets the current visited document.
Public property CurrentVisitedDocumentIndex
Gets or sets the index of the current visited document in the VisitedDocuments collection.

Assigning a value to this property causes the preview pane to show the document stored at that index in the collection. If the assigned value is -1, the current document is cleared.

Public property Cursor
Gets or sets the cursor that is displayed when the mouse pointer is over the control.
(Inherited from Control.)
Public property DataBindings
Gets the data bindings for the control.
(Inherited from Control.)
Public property DisplayRectangle
Gets the rectangle that represents the virtual display area of the control.
(Inherited from ScrollableControl.)
Public property Disposing
Gets a value indicating whether the base Control class is in the process of disposing.
(Inherited from Control.)
Public property Dock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.)
Public property Document
Gets or sets the document shown by the preview.
Public property Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)
Public property ExportOptions
Gets the options controlling the behavior of export modules.
Public property Focused
Gets a value indicating whether the control has input focus.
(Inherited from Control.)
Public property Font
Gets or sets the font of the text displayed by the control.
(Inherited from Control.)
Public property ForeColor
Gets or sets the foreground color of the control.
(Inherited from Control.)
Public property Handle
Gets the window handle that the control is bound to.
(Inherited from Control.)
Public property HandleKeyboard
Gets or sets a value indicating whether the C1PreviewPane should handle the common preview keys.
Public property HasChildren
Gets a value indicating whether the control contains one or more child controls.
(Inherited from Control.)
Public property HasSelection
Gets a value indicating whether anything is selected in the current preview pane.
Public property Height
Gets or sets the height of the control.
(Inherited from Control.)
Public property HideMargins
Gets or sets a value indicating whether the user is allowed to hide/show margins by double-clicking the mouse in the gap between pages.
Public property HideMarginsAvail
Gets a value indicating whether horizontal or vertical margins can be hidden on the current document. Margins can hide if all pages have the same size. Additionally, horizontal margins can also hide if the preview has one column.
Public property HideMarginsState
Gets or sets a value indicating whether horizontal and/or vertical margins should be hidden.
Public property HistoryOptions
Gets the HistoryOptions object determining how history is saved for the current C1PreviewPane.
Public property HorizontalScroll
Gets the characteristics associated with the horizontal scroll bar.
(Inherited from ScrollableControl.)
Public property HorzPageRulerRectangle
Gets the rectangle for the horizontal ruler for the current page, in client coordinates. The actual visible ruler can be clipped by the HorzRulerArea.
Public property HorzRulerArea
Gets the horizontal ruler area (the actual ruler is always contained within that area).
Public property ImeMode
Gets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control.)
Public property IntegrateExternalTools
Gets or sets a value indicating whether the current preview pane should integrate and handle external tools such as toolbars and navigation panels. When true, the ToolsIntegrator can be used to access the tools associated with the current preview pane.
Public property InvokeRequired
Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
(Inherited from Control.)
Public property IsAccessible
Gets or sets a value indicating whether the control is visible to accessibility applications.
(Inherited from Control.)
Public property IsDisposed
Gets a value indicating whether the control has been disposed of.
(Inherited from Control.)
Public property IsHandleCreated
Gets a value indicating whether the control has a handle associated with it.
(Inherited from Control.)
Public property IsMirrored
Gets a value indicating whether the control is mirrored.
(Inherited from Control.)
Public property KeyMapStack
Gets the KeyMapStack containing key maps for keyboard handling.
Public property LayoutEngine
Gets a cached instance of the control's layout engine.
(Inherited from Control.)
Public property Left
Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
(Inherited from Control.)
Public property Location
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control.)
Public property Margin
Gets or sets the space between controls.
(Inherited from Control.)
Public property MaximumSize
Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
Public property MaxZoomFactor
Gets or sets the maximum allowed zoom factor.
Public property MinimumSize
Gets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
Public property MinZoomFactor
Gets or sets the minimum allowed zoom factor.
Public property MouseMode
Gets or sets the mouse mode (zoom, selection etc.).
Public property Name
Gets or sets the name of the control.
(Inherited from Control.)
Public property Padding
Gets or sets padding within the control.
(Inherited from Control.)
Public property PageLayout
Gets or sets the preview layout.
Public property Pages
Gets the collection of the preview pages.
Public property PageSettings
Gets or sets page settings associated with the current document.

IMPORTANT NOTE: The PageSettings object returned by this property is created on the fly, and any changes made to its sub-properties may be lost unless you explicitly assign the modified object to the current property.

Public property PagesFillColor
Gets or sets the color used to fill the document pages in the preview before drawing the content.
Public property PagesFitPaper
Gets the value indicating whether the document pages have the same size as the currently selected printer paper.
Public property PagesPadding
Gets or sets the amount of padding between pages in the preview.
Public property PagesPaddingCurr
Gets the current padding between pages in the preview.
Public property PagesPaddingSmall
Gets or sets the amount of padding between pages in the preview used when margins are hidden.
Public property Parent
Gets or sets the parent container of the control.
(Inherited from Control.)
Public property PreferredSize
Gets the size of a rectangular area into which the control can fit.
(Inherited from Control.)
Public property PreviewCursors
Gets the set of cursors used in the preview.
Public property PreviewRectangle
Gets the preview rectangle (client are of the preview pane without the rulers and scrollbars).
Public property PreviewScrollPosition
Gets or sets the location of the top left corner of the preview area (the scroll position) within the preview window. The value is relative to the PreviewRectangle, not to the ClientRectangle. The value is independent of the ZoomFactor (i.e. setting the same values will scroll to the same logical position in the document at any zoom factor).
Public property PrinterSettings
Gets or sets printer settings.
Public property PrintingLayout
Gets or sets a value indicating whether to show the physical printing layout (printer page size and the location of the document pages' on the paper).
Public property PrintOptions
Gets the print options.
Public property PrintPreviewControl
Gets the C1PrintPreviewControl containing the current C1PreviewPane, or null.
Public property ProductName
Gets the product name of the assembly containing the control.
(Inherited from Control.)
Public property ProductVersion
Gets the version of the assembly containing the control.
(Inherited from Control.)
Public property RecreatingHandle
Gets a value indicating whether the control is currently re-creating its handle.
(Inherited from Control.)
Public property Reflowable
Gets the value indicating whether the currently loaded document supports reflow.
Public property Region
Gets or sets the window region associated with the control.
(Inherited from Control.)
Public property Right
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control.)
Public property RightToLeft
Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
(Inherited from Control.)
Public property Rows
Gets or sets the number of page rows shown in non-continuous mode.
Public property ShowPageOutline
Gets or sets a value indicating whether to show the original page outline (as a dashed line) when PrintingLayout is true and the printer paper does not match the original page size.
Public property ShowPrintableArea
Gets or sets a value indicating whether to highlight the printable area of the current printer.
Public property ShowRulers
Gets or sets a value indicating whether to show horizontal and/or vertical rulers.
Public property ShowToolTips
Gets or sets a value indicating whether to show tooltips.
Public property SidesPadding
Gets or sets the amount of padding between pages and the preview window edges.
Public property Site
Gets or sets the site of the control.
(Inherited from Control.)
Public property Size
Gets or sets the height and width of the control.
(Inherited from Control.)
Public property StartPageIdx
Gets or sets the 0-based index of the currently visible page. If several pages are visible, this property indicates the page with the most surface shown. When the property is set, the new start page's top left corner is aligned with the preview window's top left corner.
Public property StatusText
Gets or sets the string that is interpreted by attached controls as the current status string.
Public property TabIndex
Gets or sets the tab order of the control within its container.
(Inherited from Control.)
Public property TabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Panel.)
Public property Tag
Gets or sets the object that contains data about the control.
(Inherited from Control.)
Public property Text
Gets or sets the text associated with this control.
(Inherited from Control.)
Public property ToolsIntegrator
Gets the C1PreviewToolsIntegrator used by the current preview pane. Provides access to controls associated with the current preview pane, such as C1PreviewThumbnailView and C1PreviewOutlineView. This value is null if IntegrateExternalTools is false.
Public property ToolTip
Gets the ToolTip used to display tooltips in the preview. Change this to customize the way preview tooltips look (e.g. change colors etc.).
Public property Top
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
(Inherited from Control.)
Public property TopLevelControl
Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control.)
Public property TrackMousePosition
Gets or sets a value indicating whether the rulers should display marks showing the current cursor position.
Public property UseWaitCursor
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control.)
Public property VerticalScroll
Gets the characteristics associated with the vertical scroll bar.
(Inherited from ScrollableControl.)
Public property VertPageRulerRectangle
Gets the rectangle for the vertical ruler for the current page, in client coordinates. The actual visible ruler can be clipped by the VertRulerArea.
Public property VertRulerArea
Gets the vertical ruler area (the actual ruler is always contained within that area).
Public property ViewHistory
Gets the collection of ViewHistoryItem objects saved in history. Depending on HistoryOptions, items are automatically added to this collection when the user scrolls, zooms and so on in the current C1PreviewPane.
Public property Visible
Gets or sets a value indicating whether the control and all its parent controls are displayed.
(Inherited from Control.)
Public property VisitedDocuments
Gets the collection of VisitedDocument objects saved in history. If HistoryOptions indicates that documents should be saved in history, they are added to this collection automatically when the user navigates between documents.
Public property Width
Gets or sets the width of the control.
(Inherited from Control.)
Public property ZoomFactor
Gets or sets the zoom factor (1 is actual size).
Public property ZoomMode
Gets or sets the preview zoom mode.
Public property ZoomSteps
Gets or sets the array of preset zoom factors.

Events

  Name Description
Public event AdjustPrintPage
Fired from within the PrintPage event handler of the C1PrintManager used to print the document. See AdjustPrintPage()()()() for details.
Public event AutoSizeChanged
Occurs when the value of the AutoSize property has changed.
(Inherited from Panel.)
Public event BackColorChanged
Occurs when the value of the BackColor property changes.
(Inherited from Control.)
Public event BackgroundImageChanged
Occurs when the value of the BackgroundImage property changes.
(Inherited from Control.)
Public event BackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
(Inherited from Control.)
Public event BindingContextChanged
Occurs when the value of the BindingContext property changes.
(Inherited from Control.)
Public event CausesValidationChanged
Occurs when the value of the CausesValidation property changes.
(Inherited from Control.)
Public event ChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control.)
Public event Click
Occurs when the control is clicked.
(Inherited from Control.)
Public event ClientSizeChanged
Occurs when the value of the ClientSize property changes.
(Inherited from Control.)
Public event ContextMenuChanged
Occurs when the value of the ContextMenu property changes.
(Inherited from Control.)
Public event ContextMenuStripChanged
Occurs when the value of the ContextMenuStrip property changes.
(Inherited from Control.)
Public event ControlAdded
Occurs when a new control is added to the Control..::..ControlCollection.
(Inherited from Control.)
Public event ControlRemoved
Occurs when a control is removed from the Control..::..ControlCollection.
(Inherited from Control.)
Public event CursorChanged
Occurs when the value of the Cursor property changes.
(Inherited from Control.)
Public event DockChanged
Occurs when the value of the Dock property changes.
(Inherited from Control.)
Public event DoubleClick
Occurs when the control is double-clicked.
(Inherited from Control.)
Public event DragDrop
Occurs when a drag-and-drop operation is completed.
(Inherited from Control.)
Public event DragEnter
Occurs when an object is dragged into the control's bounds.
(Inherited from Control.)
Public event DragLeave
Occurs when an object is dragged out of the control's bounds.
(Inherited from Control.)
Public event DragOver
Occurs when an object is dragged over the control's bounds.
(Inherited from Control.)
Public event EnabledChanged
Occurs when the Enabled property value has changed.
(Inherited from Control.)
Public event Enter
Occurs when the control is entered.
(Inherited from Control.)
Public event Error
Occurs when an external exception is thrown (e.g. while printing).
Public event FontChanged
Occurs when the Font property value changes.
(Inherited from Control.)
Public event ForeColorChanged
Occurs when the ForeColor property value changes.
(Inherited from Control.)
Public event FormsUserAction
Occurs when user performs some action on RenderInputBase object within preview (Click, MouseDown etc).
Public event GiveFeedback
Occurs during a drag operation.
(Inherited from Control.)
Public event GotFocus
Occurs when the control receives focus.
(Inherited from Control.)
Public event HandleCreated
Occurs when a handle is created for the control.
(Inherited from Control.)
Public event HandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.)
Public event HelpRequested
Occurs when the user requests help for a control.
(Inherited from Control.)
Public event HistoryItemAdding
Occurs when a new ViewHistoryItem object is being added to the ViewHistory collection. The event handler can cancel this adding.
Public event ImeModeChanged
Occurs when the ImeMode property has changed.
(Inherited from Control.)
Public event Invalidated
Occurs when a control's display requires redrawing.
(Inherited from Control.)
Public event KeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public event KeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public event KeyUp
Occurs when a key is released while the control has focus.
(Inherited from Control.)
Public event Layout
Occurs when a control should reposition its child controls.
(Inherited from Control.)
Public event Leave
Occurs when the input focus leaves the control.
(Inherited from Control.)
Public event LoadVisitedDocument
Occurs if VisitedDocumentStorage on the current preview pane is set to User, and a previously saved visited document should be loaded from history.
Public event LocationChanged
Occurs when the Location property value has changed.
(Inherited from Control.)
Public event LongOperation
Occurs periodically when a long operation is in progress.
Public event LostFocus
Occurs when the control loses focus.
(Inherited from Control.)
Public event MarginChanged
Occurs when the control's margin changes.
(Inherited from Control.)
Public event MouseCaptureChanged
Occurs when the control loses or gains mouse capture.
(Inherited from Control.)
Public event MouseClick
Occurs when the control is clicked by the mouse.
(Inherited from Control.)
Public event MouseDoubleClick
Occurs when the control is double clicked by the mouse.
(Inherited from Control.)
Public event MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.)
Public event MouseEnter
Occurs when the mouse pointer enters the control.
(Inherited from Control.)
Public event MouseHover
Occurs when the mouse pointer rests on the control.
(Inherited from Control.)
Public event MouseLeave
Occurs when the mouse pointer leaves the control.
(Inherited from Control.)
Public event MouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.)
Public event MouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.)
Public event MouseWheel
Occurs when the mouse wheel moves while the control has focus.
(Inherited from Control.)
Public event Move
Occurs when the control is moved.
(Inherited from Control.)
Public event PaddingChanged
Occurs when the control's padding changes.
(Inherited from Control.)
Public event Paint
Occurs when the control is redrawn.
(Inherited from Control.)
Public event ParentChanged
Occurs when the Parent property value changes.
(Inherited from Control.)
Public event PreviewAction
Occurs when the document action from preview forms should be executed.
Public event PreviewKeyDown
Occurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control.)
Public event PreviewPrint
Occurs immediately before a print dialog is shown by the preview in response to user action. Allows to adjust the properties of the print dialog, or cancel it without showing.
Public event PropertyChanged
Occurs when a property of the preview pane that is not inherited from the base class changes.
Public event QueryAccessibilityHelp
Occurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control.)
Public event QueryContinueDrag
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from Control.)
Public event RegionChanged
Occurs when the value of the Region property changes.
(Inherited from Control.)
Public event Resize
Occurs when the control is resized.
(Inherited from Control.)
Public event RightToLeftChanged
Occurs when the RightToLeft property value changes.
(Inherited from Control.)
Public event SaveVisitedDocument
Occurs if VisitedDocumentStorage on the current preview pane is set to User, and a visited document should be added to history. The event handler must save the document.
Public event Scroll
Occurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl.)
Public event SizeChanged
Occurs when the Size property value changes.
(Inherited from Control.)
Public event StyleChanged
Occurs when the control style changes.
(Inherited from Control.)
Public event SystemColorsChanged
Occurs when the system colors change.
(Inherited from Control.)
Public event TabIndexChanged
Occurs when the TabIndex property value changes.
(Inherited from Control.)
Public event TabStopChanged
Occurs when the TabStop property value changes.
(Inherited from Control.)
Public event TextChanged
Occurs when the Text property value changes.
(Inherited from Control.)
Public event UserAction
Occurs whenever the user clicks one of the predefined preview toolbar buttons such as print or file open. Allows to provide non-standard toolbar button handling, or cancel the action.
Public event Validated
Occurs when the control is finished validating.
(Inherited from Control.)
Public event Validating
Occurs when the control is validating.
(Inherited from Control.)
Public event VisibleChanged
Occurs when the Visible property value changes.
(Inherited from Control.)
Public event VisitedDocumentAdding
Occurs when a new VisitedDocument object is being added to the VisitedDocuments collection of the current preview pane. Adding can be cancelled in the event handler.

See Also