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


In This Topic
    C1PreviewPane Class Methods
    In This Topic

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

    Public Methods
     NameDescription
    Public MethodCreates a new ViewHistoryItem object using the current state of the C1PreviewPane.

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

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

     
    Public MethodCreates a new ViewHistoryItem object with the specified ViewState.

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

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

     
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodConverts 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 (Inherited from System.Windows.Forms.Control)
    Public MethodCopies the text currently selected in this C1PreviewPane to clipboard. Does nothing if the current selection is empty.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Overridden. Releases the resoureces used by C1PreviewPane.  
    Public MethodCopies the current selection to clipboard.  
    Public MethodOverloaded. Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates.  
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodHandles the Escape key (clears selection, resets mouse mode).  
    Public MethodGoes back in history.  
    Public MethodGoes forward in history.  
    Public MethodGoes to next page.  
    Public MethodGoes to previous page.  
    Public MethodScrolls to the end of the document.  
    Public MethodScrolls down.  
    Public MethodScrolls left.  
    Public MethodScrolls one page down.  
    Public MethodScrolls one page up.  
    Public MethodScrolls right.  
    Public MethodScrolls to the top of the document.  
    Public MethodScrolls up.  
    Public MethodSelects the whole document.  
    Public MethodZooms in.  
    Public MethodZooms out.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. 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 MethodOverloaded. Saves the currently loaded document, allowing the user to select the file name and the output format, using the C1PreviewPane.ExportOptions specified on the current preview pane.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodSearches for a hyperlink at the specified client location.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodGets the rectangle representing the specified page, relative to C1PreviewPane.PreviewScrollPosition. The rectangle is in document coordinates (i.e. does not depend on the current zoom factor).  
    Public MethodGets the size of a page specified by the page index. The size is in document coordinates (i.e. does not depend on the current zoom factor).  
    Public MethodGets 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 MethodGets RectangleF representing the area of the specified page that is currently visible in the current C1PreviewPane. The rectangle is in document (i.e. independent of the current zoom factor) coordinates, and is relative to the specified page's left top corner.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodGets the text currently selected in this C1PreviewPane.  
    Public MethodEnsures that the specified anchor (see C1.C1Preview.C1Anchor) is visible in the current preview pane.  
    Public MethodOverloaded. Ensures that the specified document location is visible in the current preview pane.  
    Public MethodMakes sure that the currently selected text is visible in the current C1PreviewPane. (This method does nothing if currently there is no selection.)  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodGoes back in history.  
    Public MethodGoes forward in history.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodGets a value indicating whether any part of the specified page is currently visible in this C1PreviewPane.  
    Public MethodTemporarily locks (suspends) adding of new items to C1PreviewPane.ViewHistory. Note a matching call to C1PreviewPane.UnlockHistory must exist for each call of this method.  
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Ensures that the specified rectangle (expressed in preview pane client coordinates) is visible (scrolled in) in the preview pane.  
    Public MethodOverloaded. Raises the LongOperation event on the preview pane.  
    Public MethodInvokes the standard page setup dialog. If the user presses OK in the dialog, the currently loaded document reflows if reflow is supported.  
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Shows the standard print dialog, allowing the user to print the currently loaded document.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodReflows the currently loaded document.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverridden. Resets the BackColor property to the default value.  
    Public MethodResets the PagesFillColor to the default value.  
    Public MethodResets the PagesPadding to the default value.  
    Public MethodResets the PagesPaddingSmall to the default value.  
    Public MethodResets the SidesPadding to the default value.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodResets the ZoomSteps property to the default value.  
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Scrolls the previewed document in the client area by the specified horizontal and vertical amounts.  
    Public Method (Inherited from System.Windows.Forms.ScrollableControl)
    Public MethodOverloaded. Scrolls the previewed document in the client area by the specified horizontal and vertical amounts. The scroll amounts are expressed in document coordinates.  
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodSelects all text in the document currently loaded into this C1PreviewPane.  
    Public MethodRemoves all selection in the document currently loaded into this C1PreviewPane.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodSelects all text on the specified page in the document currently loaded into this C1PreviewPane.  
    Public MethodSelects the specified text fragment in the document currently loaded in the current C1PreviewPane.  
    Public MethodSelects a word at the specified location (in client coordinates) in the document currently loaded into this C1PreviewPane.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.ScrollableControl)
    Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Public MethodSets the input focus to the specified C1.C1Preview.RenderInputFragment object. This method should be used only if the preview currently shows a C1.C1Preview.C1PrintDocument.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodShows a dialog box with the exception message.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodSearches for an occurrence of a text in the document currently loaded in the current C1PreviewPane.  
    Public MethodSearches for all occurrences of a text in the document currently loaded in the current C1PreviewPane.  
    Public Method (Inherited from System.Windows.Forms.Panel)
    Public MethodUnlocks (resumes) adding of new items to C1PreviewPane.ViewHistory temporarily locked by a previous call to C1PreviewPane.LockHistory.  
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodForces the preview pane to update the preview.  
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.Panel)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverridden. Overridden. Raises the Layout event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverridden. Overridden. Raises the MouseClick event.  
    Protected MethodOverridden. Overridden. Raises the MouseDoubleClick event.  
    Protected MethodOverridden. Overridden. Raises the MouseDown event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverridden. Overridden. Raises the MouseMove event.  
    Protected MethodOverridden. Overridden. Raises the MouseUp event.  
    Protected MethodOverridden. Overridden. Raises the MouseWheel event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected MethodOverridden. Overridden. Raises the Paint event.  
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverridden. Overridden. Raises the ParentChanged event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodRaises the C1PreviewPane.PreviewPrint event on the current preview pane.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodRaises the PropertyChanged event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Panel)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected MethodOverridden. Overridden. Raises the SizeChanged event.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodResets the C1PreviewPane.CompatibilityOptions property to the defalut value.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.ScrollableControl)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodIndicates whether the C1PreviewPane.CompatibilityOptions property should be serialized.  
    Protected MethodIndicates whether the C1PreviewPane.ExportOptions property should be serialized.  
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected Method (Inherited from System.Windows.Forms.Control)
    Protected MethodOverridden. Overridden. Processes Windows messages.  
    Top
    See Also