Name | Description | |
---|---|---|
C1PreviewPane Constructor | Initializes a new instance of C1PreviewPane control. |
The following tables list the members exposed by C1PreviewPane.
Name | Description | |
---|---|---|
C1PreviewPane Constructor | Initializes a new instance of C1PreviewPane control. |
Name | Description | |
---|---|---|
AccessibilityObject | (Inherited from System.Windows.Forms.Control) | |
AccessibleDefaultActionDescription | (Inherited from System.Windows.Forms.Control) | |
AccessibleDescription | (Inherited from System.Windows.Forms.Control) | |
AccessibleName | (Inherited from System.Windows.Forms.Control) | |
AccessibleRole | (Inherited from System.Windows.Forms.Control) | |
AllowDrop | (Inherited from System.Windows.Forms.Control) | |
Anchor | (Inherited from System.Windows.Forms.Control) | |
AutoScrollMargin | (Inherited from System.Windows.Forms.ScrollableControl) | |
AutoScrollMinSize | (Inherited from System.Windows.Forms.ScrollableControl) | |
AutoScrollOffset | (Inherited from System.Windows.Forms.Control) | |
AutoScrollPosition | (Inherited from System.Windows.Forms.ScrollableControl) | |
AutoSize | (Inherited from System.Windows.Forms.Panel) | |
AutoSizeMode | (Inherited from System.Windows.Forms.Panel) | |
BackColor | Overridden. Gets or sets the background color for the control. | |
BackgroundImage | (Inherited from System.Windows.Forms.Control) | |
BackgroundImageLayout | (Inherited from System.Windows.Forms.Control) | |
BindingContext | (Inherited from System.Windows.Forms.Control) | |
BorderStyle | (Inherited from System.Windows.Forms.Panel) | |
Bottom | (Inherited from System.Windows.Forms.Control) | |
Bounds | (Inherited from System.Windows.Forms.Control) | |
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. | |
CanFocus | (Inherited from System.Windows.Forms.Control) | |
CanSelect | (Inherited from System.Windows.Forms.Control) | |
CanSetPageSettings | Gets a value indicating whether the currently loaded document supports changing the page settings. | |
Capture | (Inherited from System.Windows.Forms.Control) | |
CausesValidation | (Inherited from System.Windows.Forms.Control) | |
ClientRectangle | (Inherited from System.Windows.Forms.Control) | |
ClientSize | (Inherited from System.Windows.Forms.Control) | |
Cols | Gets or sets the number of page columns shown. | |
CompanyName | (Inherited from System.Windows.Forms.Control) | |
CompatibilityOptions | Gets the CompatibilityOptions object which determines compatibility with previous versions of C1PreviewPane. | |
Container | (Inherited from System.ComponentModel.Component) | |
ContainsFocus | (Inherited from System.Windows.Forms.Control) | |
ContextMenu | (Inherited from System.Windows.Forms.Control) | |
ContextMenuStrip | Overridden. 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. | |
Continuous | Gets or sets a value indicating whether to show document pages continuously. | |
Controls | (Inherited from System.Windows.Forms.Control) | |
Created | (Inherited from System.Windows.Forms.Control) | |
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. | |
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. | |
CurrentVisitedDocument | Gets or sets the current visited document. | |
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. | |
DataBindings | (Inherited from System.Windows.Forms.Control) | |
DeviceDpi | (Inherited from System.Windows.Forms.Control) | |
DisplayRectangle | (Inherited from System.Windows.Forms.ScrollableControl) | |
Disposing | (Inherited from System.Windows.Forms.Control) | |
Dock | (Inherited from System.Windows.Forms.Control) | |
Document | Gets or sets the document shown by the preview. | |
DpiX | Gets the horizontal resolution of the display. | |
DpiY | Gets the vertical resolution of the display. | |
Enabled | (Inherited from System.Windows.Forms.Control) | |
ExportOptions | Gets the options controlling the behavior of export modules. | |
Focused | (Inherited from System.Windows.Forms.Control) | |
Font | (Inherited from System.Windows.Forms.Control) | |
ForeColor | (Inherited from System.Windows.Forms.Control) | |
Handle | (Inherited from System.Windows.Forms.Control) | |
HandleKeyboard | Gets or sets a value indicating whether the C1PreviewPane should handle the common preview keys. | |
HasChildren | (Inherited from System.Windows.Forms.Control) | |
HasSelection | Gets a value indicating whether anything is selected in the current preview pane. | |
Height | (Inherited from System.Windows.Forms.Control) | |
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. | |
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. | |
HideMarginsState | Gets or sets a value indicating whether horizontal and/or vertical margins should be hidden. | |
HistoryOptions | Gets the HistoryOptions object determining how history is saved for the current C1PreviewPane. | |
HorizontalScroll | (Inherited from System.Windows.Forms.ScrollableControl) | |
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. | |
HorzRulerArea | Gets the horizontal ruler area (the actual ruler is always contained within that area). | |
ImeMode | (Inherited from System.Windows.Forms.Control) | |
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. | |
InvokeRequired | (Inherited from System.Windows.Forms.Control) | |
IsAccessible | (Inherited from System.Windows.Forms.Control) | |
IsDisposed | (Inherited from System.Windows.Forms.Control) | |
IsHandleCreated | (Inherited from System.Windows.Forms.Control) | |
IsHistoryLocked | Gets a value indicating whether history is currently locked (i.e. adding of new history items is suspended). | |
IsMirrored | (Inherited from System.Windows.Forms.Control) | |
KeyMapStack | Gets the KeyMapStack containing key maps for keyboard handling. | |
LayoutEngine | (Inherited from System.Windows.Forms.Control) | |
Left | (Inherited from System.Windows.Forms.Control) | |
Location | (Inherited from System.Windows.Forms.Control) | |
Margin | (Inherited from System.Windows.Forms.Control) | |
MaximumSize | (Inherited from System.Windows.Forms.Control) | |
MaxZoomFactor | Gets or sets the maximum allowed zoom factor. | |
MinimumSize | (Inherited from System.Windows.Forms.Control) | |
MinZoomFactor | Gets or sets the minimum allowed zoom factor. | |
MouseMode | Gets or sets the mouse mode (zoom, selection etc.). | |
Name | (Inherited from System.Windows.Forms.Control) | |
Padding | (Inherited from System.Windows.Forms.Control) | |
PageLayout | Gets or sets the preview layout. | |
Pages | Gets the collection of the preview pages. | |
PageSettings | Gets 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. | |
PagesFillColor | Gets or sets the color used to fill the document pages in the preview before drawing the content. | |
PagesFitPaper | Gets the value indicating whether the document pages have the same size as the currently selected printer paper. | |
PagesPadding | Gets or sets the amount of padding between pages in the preview. | |
PagesPaddingCurr | Gets the current padding between pages in the preview. | |
PagesPaddingSmall | Gets or sets the amount of padding between pages in the preview used when margins are hidden. | |
Parent | (Inherited from System.Windows.Forms.Control) | |
PreferredSize | (Inherited from System.Windows.Forms.Control) | |
PreviewCursors | Gets the set of cursors used in the preview. | |
PreviewRectangle | Gets the preview rectangle (client are of the preview pane without the rulers and scrollbars). | |
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). | |
PrinterSettings | Gets or sets printer settings. | |
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). | |
PrintOptions | Gets the print options. | |
PrintPreviewControl | Gets the C1PrintPreviewControl containing the current C1PreviewPane, or null. | |
ProductName | (Inherited from System.Windows.Forms.Control) | |
ProductVersion | (Inherited from System.Windows.Forms.Control) | |
RecreatingHandle | (Inherited from System.Windows.Forms.Control) | |
Reflowable | Gets the value indicating whether the currently loaded document supports reflow. | |
Region | (Inherited from System.Windows.Forms.Control) | |
RestrictScrollToPage | Gets 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. | |
Right | (Inherited from System.Windows.Forms.Control) | |
RightToLeft | (Inherited from System.Windows.Forms.Control) | |
Rows | Gets or sets the number of page rows shown in non-continuous mode. | |
RulerUnits | Gets 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. | |
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. | |
ShowPrintableArea | Gets or sets a value indicating whether to highlight the printable area of the current printer. | |
ShowPrintProgressDialog | Gets 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). | |
ShowRulers | Gets or sets a value indicating whether to show horizontal and/or vertical rulers. | |
ShowToolTips | Gets or sets a value indicating whether to show tooltips. | |
SidesPadding | Gets or sets the amount of padding between pages and the preview window edges. | |
Site | (Inherited from System.Windows.Forms.Control) | |
Size | (Inherited from System.Windows.Forms.Control) | |
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. | |
StatusText | Gets or sets the string that is interpreted by attached controls as the current status string. | |
TabIndex | (Inherited from System.Windows.Forms.Control) | |
TabStop | (Inherited from System.Windows.Forms.Panel) | |
Tag | (Inherited from System.Windows.Forms.Control) | |
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. | |
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.). | |
Top | (Inherited from System.Windows.Forms.Control) | |
TopLevelControl | (Inherited from System.Windows.Forms.Control) | |
TrackMousePosition | Gets or sets a value indicating whether the rulers should display marks showing the current cursor position. | |
UseWaitCursor | (Inherited from System.Windows.Forms.Control) | |
VerticalScroll | (Inherited from System.Windows.Forms.ScrollableControl) | |
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. | |
VertRulerArea | Gets the vertical ruler area (the actual ruler is always contained within that area). | |
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. | |
Visible | (Inherited from System.Windows.Forms.Control) | |
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. | |
Width | (Inherited from System.Windows.Forms.Control) | |
ZoomFactor | Gets or sets the zoom factor (1 is actual size). | |
ZoomMode | Gets or sets the preview zoom mode. | |
ZoomSteps | Gets or sets the array of preset zoom factors. |
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 HistoryOptions.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 | Overloaded. (Inherited from System.Windows.Forms.Control) | |
BringToFront | (Inherited from System.Windows.Forms.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 | (Inherited from System.Windows.Forms.Control) | |
CopySelectionToClipboard | Copies the text currently selected in this C1PreviewPane to clipboard. Does nothing if the current selection is empty. | |
CreateControl | (Inherited from System.Windows.Forms.Control) | |
CreateGraphics | (Inherited from System.Windows.Forms.Control) | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. Releases the resoureces used by C1PreviewPane. | |
DoCopySelection | Copies the current selection to clipboard. | |
DocumentToClient | Overloaded. Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates. | |
DoDragDrop | (Inherited from System.Windows.Forms.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 | (Inherited from System.Windows.Forms.Control) | |
EndInvoke | (Inherited from System.Windows.Forms.Control) | |
FileOpen | Overloaded. 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. | |
FileSave | Overloaded. 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. | |
FindForm | (Inherited from System.Windows.Forms.Control) | |
FindHyperlink | Searches for a hyperlink at the specified client location. | |
Focus | (Inherited from System.Windows.Forms.Control) | |
GetChildAtPoint | Overloaded. (Inherited from System.Windows.Forms.Control) | |
GetContainerControl | (Inherited from System.Windows.Forms.Control) | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
GetNextControl | (Inherited from System.Windows.Forms.Control) | |
GetPagePreviewRect | Gets the rectangle representing the specified page, relative to PreviewScrollPosition. The rectangle is in document coordinates (i.e. does not depend on the current zoom factor). | |
GetPageSize | Gets 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). | |
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. | |
GetPageVisibleArea | Gets 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. | |
GetPreferredSize | (Inherited from System.Windows.Forms.Control) | |
GetSelectedText | Gets the text currently selected in this C1PreviewPane. | |
GotoAnchor | Ensures that the specified anchor (see C1.C1Preview.C1Anchor) is visible in the current preview pane. | |
GotoDocumentLocation | Overloaded. Ensures that the specified document location is visible in the current preview pane. | |
GoToSelection | Makes sure that the currently selected text is visible in the current C1PreviewPane. (This method does nothing if currently there is no selection.) | |
Hide | (Inherited from System.Windows.Forms.Control) | |
HistoryBack | Goes back in history. | |
HistoryForward | Goes forward in history. | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
Invalidate | Overloaded. (Inherited from System.Windows.Forms.Control) | |
Invoke | Overloaded. (Inherited from System.Windows.Forms.Control) | |
IsPageVisible | Gets a value indicating whether any part of the specified page is currently visible in this C1PreviewPane. | |
LockHistory | Temporarily locks (suspends) adding of new items to ViewHistory. Note a matching call to UnlockHistory must exist for each call of this method. | |
LogicalToDeviceUnits | Overloaded. (Inherited from System.Windows.Forms.Control) | |
MakeClientVisible | Overloaded. Ensures that the specified rectangle (expressed in preview pane client coordinates) is visible (scrolled in) in the preview pane. | |
OnLongOperation | Overloaded. Raises the LongOperation event on the preview pane. | |
PageSetup | Invokes the standard page setup dialog. If the user presses OK in the dialog, the currently loaded document reflows if reflow is supported. | |
PerformLayout | Overloaded. (Inherited from System.Windows.Forms.Control) | |
PointToClient | (Inherited from System.Windows.Forms.Control) | |
PointToScreen | (Inherited from System.Windows.Forms.Control) | |
PreProcessControlMessage | (Inherited from System.Windows.Forms.Control) | |
PreProcessMessage | (Inherited from System.Windows.Forms.Control) | |
Overloaded. Shows the standard print dialog, allowing the user to print the currently loaded document. | ||
RectangleToClient | (Inherited from System.Windows.Forms.Control) | |
RectangleToScreen | (Inherited from System.Windows.Forms.Control) | |
Reflow | Reflows the currently loaded document. | |
Refresh | (Inherited from System.Windows.Forms.Control) | |
ResetBackColor | Overridden. Resets the BackColor property to the default value. | |
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 | (Inherited from System.Windows.Forms.Control) | |
ResetZoomSteps | Resets the ZoomSteps property to the default value. | |
ResumeLayout | Overloaded. (Inherited from System.Windows.Forms.Control) | |
Scale | (Inherited from System.Windows.Forms.Control) | |
ScaleBitmapLogicalToDevice | (Inherited from System.Windows.Forms.Control) | |
ScrollClient | Overloaded. Scrolls the previewed document in the client area by the specified horizontal and vertical amounts. | |
ScrollControlIntoView | (Inherited from System.Windows.Forms.ScrollableControl) | |
ScrollPreview | Overloaded. Scrolls the previewed document in the client area by the specified horizontal and vertical amounts. The scroll amounts are expressed in document coordinates. | |
Select | Overloaded. (Inherited from System.Windows.Forms.Control) | |
SelectAll | Selects all text in the document currently loaded into this C1PreviewPane. | |
SelectionClear | Removes all selection in the document currently loaded into this C1PreviewPane. | |
SelectNextControl | (Inherited from System.Windows.Forms.Control) | |
SelectPage | Selects all text on the specified page in the document currently loaded into this C1PreviewPane. | |
SelectTextFragment | Selects the specified text fragment in the document currently loaded in the current C1PreviewPane. | |
SelectWord | Selects a word at the specified location (in client coordinates) in the document currently loaded into this C1PreviewPane. | |
SendToBack | (Inherited from System.Windows.Forms.Control) | |
SetAutoScrollMargin | (Inherited from System.Windows.Forms.ScrollableControl) | |
SetBounds | Overloaded. (Inherited from System.Windows.Forms.Control) | |
SetFocus | Sets 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. | |
Show | (Inherited from System.Windows.Forms.Control) | |
ShowErrorMessage | Shows a dialog box with the exception message. | |
SuspendLayout | (Inherited from System.Windows.Forms.Control) | |
TextSearch | Searches for an occurrence of a text in the document currently loaded in the current C1PreviewPane. | |
TextSearchAll | Searches for all occurrences of a text in the document currently loaded in the current C1PreviewPane. | |
ToString | (Inherited from System.Windows.Forms.Panel) | |
UnlockHistory | Unlocks (resumes) adding of new items to ViewHistory temporarily locked by a previous call to LockHistory. | |
Update | (Inherited from System.Windows.Forms.Control) | |
UpdatePreview | Forces the preview pane to update the preview. |