[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewToolsIntegrator

C1PreviewToolsIntegrator Class

Provides integration of external tools (such as toolbars and status bar) with the preview pane, including handling of toolbar buttons.

Inheritance
C1PreviewToolsIntegrator
Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.8.dll
Syntax
public class C1PreviewToolsIntegrator

Constructors

Name Description
C1PreviewToolsIntegrator()

Creates a new instance of the class.

Fields

Name Description
c_PreviewProgressBarTag

Tag identifying the ToolStripProgressBar used to show preview progress.

c_PreviewSearchToolStripTag

Tag identifying the ToolStrip used to show search options.

c_PreviewStatusLabelTag

Tag identifying the ToolStripStatusLabel used to show preview status text.

Properties

Name Description
AvailablePreviewActions

Gets or sets the flags indicating which tools should be available to the user.

ImageSet

Gets or sets a value indicating which set of predefined images is used by the preview toolbar.

NavigationPanelVisible

Gets or sets a value indicating whether the navigation panel is currently visible.

PreviewNavigationPanel

Gets the control containing the preview thumbnail and outline panels.

PreviewOutlineView

Gets or sets the C1PreviewThumbnailView associated with the current C1PreviewToolsIntegrator.

PreviewPane

Gets or sets the C1PreviewPane associated with the current C1PreviewToolsIntegrator.

PreviewProgressBar

Gets or sets the ToolStripProgressBar associated with the current C1PreviewToolsIntegrator.

PreviewStatusBar

Gets the preview status bar.

PreviewStatusText

Gets or sets the ToolStripStatusLabel associated with the current C1PreviewToolsIntegrator.

PreviewTextSearchPanel

Gets or sets the C1PreviewTextSearchPanel associated with the current C1PreviewToolsIntegrator.

PreviewThumbnailView

Gets or sets the C1PreviewThumbnailView associated with the current C1PreviewToolsIntegrator.

SearchToolBarVisible

Gets or sets a value indicating whether the search toolbar is visible.

StatusBarVisible

Gets or sets a value indicating whether the status bar is currently visible.

TextSearchUIStyle

Gets or sets the type of UI used for text search.

Methods

Name Description
AttachToolStrip(ToolStrip)

Attaches the tools integrator to the specified toolstrip. If the toolstrip contains preview items, they will be handled by the tools integrator.

AttachTools(Control)

Searches the controls tree and attaches to any tools found on it.

DetachToolStrip(ToolStrip)

Detaches the tools integrator from the specified toolstrip.

DetachTools()

Detaches the tools integrator from all tools (but does not detach from the PreviewPane).

FileOpen()

For internal use.

FileOpen(string)

For internal use.

FileSave()

For internal use.

FileSave(string, ExportProvider)

For internal use.

Print()

Shows the print dialog, allows the user to prints the document currently loaded into the C1PreviewPane.

Print(string)

Shows the print dialog, allows the user to print the document currently loaded into the C1PreviewPane.

StateUpdate()

Updates the current state of ToolStripItem items.

ToolStripItemByAction(C1PreviewActionEnum)

Gets the ToolStripItem associated with the specified action.