PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class


In This Topic
    C1PreviewPane Class Properties
    In This Topic

    For a list of all members of this type, see C1PreviewPane members.

    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public Property (Inherited from System.Windows.Forms.Panel)
    Public Property (Inherited from System.Windows.Forms.Panel)
    Public PropertyOverridden. Gets or sets the background color for the control.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Panel)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the currently loaded document supports changing the page settings.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the number of page columns shown.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the CompatibilityOptions object which determines compatibility with previous versions of C1PreviewPane.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyOverridden. 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.  
    Public PropertyGets or sets a value indicating whether to show document pages continuously.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 C1PreviewPane.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 PropertyGets 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 PropertyGets or sets the current visited document.  
    Public PropertyGets or sets the index of the current visited document in the C1PreviewPane.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 (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the document shown by the preview.  
    Public PropertyGets the horizontal resolution of the display.  
    Public PropertyGets the vertical resolution of the display.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the options controlling the behavior of export modules.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the C1PreviewPane should handle the common preview keys.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether anything is selected in the current preview pane.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 PropertyGets 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 PropertyGets or sets a value indicating whether horizontal and/or vertical margins should be hidden.  
    Public PropertyGets the C1PreviewPane.HistoryOptions object determining how history is saved for the current C1PreviewPane.  
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public PropertyGets the rectangle for the horizontal ruler for the current page, in client coordinates. The actual visible ruler can be clipped by the HorzRulerArea.  
    Public PropertyGets the horizontal ruler area (the actual ruler is always contained within that area).  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 C1PreviewPane.ToolsIntegrator can be used to access the tools associated with the current preview pane.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether history is currently locked (i.e. adding of new history items is suspended).  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the KeyMapStack containing key maps for keyboard handling.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the maximum allowed zoom factor.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the minimum allowed zoom factor.  
    Public PropertyGets or sets the mouse mode (zoom, selection etc.).  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the preview layout.  
    Public PropertyGets the collection of the preview pages.  
    Public PropertyGets or sets page settings associated with the current document.

    IMPORTANT NOTE: The System.Drawing.Printing.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 PropertyGets or sets the color used to fill the document pages in the preview before drawing the content.  
    Public PropertyGets the value indicating whether the document pages have the same size as the currently selected printer paper.  
    Public PropertyGets or sets the amount of padding between pages in the preview.  
    Public PropertyGets the current padding between pages in the preview.  
    Public PropertyGets or sets the amount of padding between pages in the preview used when margins are hidden.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the set of cursors used in the preview.  
    Public PropertyGets the preview rectangle (client are of the preview pane without the rulers and scrollbars).  
    Public PropertyGets 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 PropertyGets or sets printer settings.  
    Public PropertyGets 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 PropertyGets the print options.  
    Public PropertyGets the C1PrintPreviewControl containing the current C1PreviewPane, or null.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the value indicating whether the currently loaded document supports reflow.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether scrolling with the scrollbar or mouse wheel is restricted to the current page (for non-continuous mode only).

    The default is false.

     
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the number of page rows shown in non-continuous mode.  
    Public PropertyGets or sets a value specifying what measurement units should be used by the rulers. By default the units are determined by the current country/region.  
    Public PropertyGets 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 PropertyGets or sets a value indicating whether to highlight the printable area of the current printer.  
    Public PropertyGets or sets a value indicating whether to show a cancellable print progress dialog while printing a document. If this property is false (which is the default), only a status progress bar shows print progress (and so printing cannot be cancelled).  
    Public PropertyGets or sets a value indicating whether to show horizontal and/or vertical rulers.  
    Public PropertyGets or sets a value indicating whether to show tooltips.  
    Public PropertyGets or sets the amount of padding between pages and the preview window edges.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 PropertyGets or sets the string that is interpreted by attached controls as the current status string.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Panel)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets 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 C1PreviewPane.IntegrateExternalTools is false.  
    Public PropertyGets 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 (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the rulers should display marks showing the current cursor position.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.Windows.Forms.ScrollableControl)
    Public PropertyGets the rectangle for the vertical ruler for the current page, in client coordinates. The actual visible ruler can be clipped by the VertRulerArea.  
    Public PropertyGets the vertical ruler area (the actual ruler is always contained within that area).  
    Public PropertyGets the collection of ViewHistoryItem objects saved in history. Depending on C1PreviewPane.HistoryOptions, items are automatically added to this collection when the user scrolls, zooms and so on in the current C1PreviewPane.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the collection of VisitedDocument objects saved in history. If C1PreviewPane.HistoryOptions indicates that documents should be saved in history, they are added to this collection automatically when the user navigates between documents.  
    Public Property (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the zoom factor (1 is actual size).  
    Public PropertyGets or sets the preview zoom mode.  
    Public PropertyGets or sets the array of preset zoom factors.  
    Top
    Protected Properties
    See Also