The C1PreviewPane type exposes the following members.
Methods
Name | Description | |
---|---|---|
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. |
|
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. |
|
BeginInvoke(Delegate) |
Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
(Inherited from ControlControl.) |
|
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.) |
|
BringToFront |
Brings the control to the front of the z-order.
(Inherited from Control.) |
|
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. |
|
Contains |
Retrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control.) |
|
CreateControl |
Forces the creation of the control, including the creation of the handle and any child controls.
(Inherited from Control.) |
|
CreateGraphics |
Creates the Graphics for the control.
(Inherited from Control.) |
|
DoCopySelection |
Copies the current selection to clipboard.
|
|
DoDragDrop |
Begins a drag-and-drop operation.
(Inherited from Control.) |
|
DoEscape |
Handles the Escape key (clears selection, resets mouse mode).
|
|
DoGoHistoryBack |
Goes back in history.
|
|
DoGoHistoryForward |
Goes forward in history.
|
|
DoGoNextPage |
Goes to next page.
|
|
DoGoPreviousPage |
Goes to previous page.
|
|
DoScrollBottom |
Scrolls to the end of the document.
|
|
DoScrollDown |
Scrolls down.
|
|
DoScrollLeft |
Scrolls left.
|
|
DoScrollPageDown |
Scrolls one page down.
|
|
DoScrollPageUp |
Scrolls one page up.
|
|
DoScrollRight |
Scrolls right.
|
|
DoScrollTop |
Scrolls to the top of the document.
|
|
DoScrollUp |
Scrolls up.
|
|
DoSelectAll |
Selects the whole document.
|
|
DoZoomIn |
Zooms in.
|
|
DoZoomOut |
Zooms out.
|
|
DrawToBitmap |
Supports rendering to the specified bitmap.
(Inherited from Control.) |
|
EndInvoke |
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control.) |
|
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.
|
|
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. |
|
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.
|
|
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. |
|
FindForm |
Retrieves the form that the control is on.
(Inherited from Control.) |
|
Focus |
Sets input focus to the control.
(Inherited from Control.) |
|
GetChildAtPoint(Point) |
Retrieves the child control that is located at the specified coordinates.
(Inherited from ControlControl.) |
|
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.) |
|
GetContainerControl |
Returns the next ContainerControl up the control's chain of parent controls.
(Inherited from Control.) |
|
GetNextControl |
Retrieves the next control forward or back in the tab order of child controls.
(Inherited from Control.) |
|
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.
|
|
GetPreferredSize |
Retrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control.) |
|
Hide |
Conceals the control from the user.
(Inherited from Control.) |
|
HistoryBack |
Goes back in history.
|
|
HistoryForward |
Goes forward in history.
|
|
Invalidate()()()() |
Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from ControlControl.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
Invoke(Delegate) |
Executes the specified delegate on the thread that owns the control's underlying window handle.
(Inherited from ControlControl.) |
|
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.) |
|
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.
|
|
OnLongOperation |
Raises the LongOperation event on the preview pane.
|
|
PerformLayout()()()() |
Forces the control to apply layout logic to all its child controls.
(Inherited from ControlControl.) |
|
PerformLayout(Control, String) |
Forces the control to apply layout logic to all its child controls.
(Inherited from ControlControl.) |
|
PointToClient |
Computes the location of the specified screen point into client coordinates.
(Inherited from Control.) |
|
PointToScreen |
Computes the location of the specified client point into screen coordinates.
(Inherited from Control.) |
|
PreProcessControlMessage |
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.) |
|
PreProcessMessage |
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.) |
|
RectangleToClient |
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control.) |
|
RectangleToScreen |
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control.) |
|
Refresh |
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control.) |
|
ResetBackColor |
Resets the BackColor property to the default value.
(Overrides Control..::..ResetBackColor()()()().) |
|
ResetPagesFillColor |
Resets the PagesFillColor to the default value.
|
|
ResetPagesPadding |
Resets the PagesPadding to the default value.
|
|
ResetPagesPaddingSmall |
Resets the PagesPaddingSmall to the default value.
|
|
ResetSidesPadding |
Resets the SidesPadding to the default value.
|
|
ResetText |
Resets the Text property to its default value.
(Inherited from Control.) |
|
ResetZoomSteps |
Resets the ZoomSteps property to the default value.
|
|
ResumeLayout()()()() |
Resumes usual layout logic.
(Inherited from ControlControl.) |
|
ResumeLayout(Boolean) |
Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from ControlControl.) |
|
ScrollControlIntoView |
Scrolls the specified child control into view on an auto-scroll enabled control.
(Inherited from ScrollableControl.) |
|
Select |
Activates the control.
(Inherited from Control.) |
|
SelectAll |
Selects all text in the document currently loaded into this C1PreviewPane.
|
|
SelectNextControl |
Activates the next control.
(Inherited from Control.) |
|
SendToBack |
Sends the control to the back of the z-order.
(Inherited from Control.) |
|
SetAutoScrollMargin |
Sets the size of the auto-scroll margins.
(Inherited from ScrollableControl.) |
|
SetBounds(Int32, Int32, Int32, Int32) |
Sets the bounds of the control to the specified location and size.
(Inherited from ControlControl.) |
|
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) |
Sets the specified bounds of the control to the specified location and size.
(Inherited from ControlControl.) |
|
SetFocus |
Sets the input focus to the specified RenderInputFragment object.
This method should be used only if the preview currently shows a C1PrintDocument.
|
|
Show |
Displays the control to the user.
(Inherited from Control.) |
|
ShowErrorMessage |
Shows a dialog box with the exception message.
|
|
SuspendLayout |
Temporarily suspends the layout logic for the control.
(Inherited from Control.) |
|
ToString |
Returns a string representation for this control.
(Inherited from Panel.) |
|
UnlockHistory |
Unlocks (resumes) adding of new items to ViewHistory
temporarily locked by a previous call to LockHistory()()()().
|
|
Update |
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.) |
|
UpdatePreview |
Forces the preview pane to update the preview.
|