Class: cCrystalICrystalReportViewer11
CLSID: {3FA3EA6B-D886-4689-87E5-2EFB3101F16B}
Interface to the Crystal Report Viewer Control
Class Hierarchy:
cObject

Mixin


cCrystalICrystalReportViewer11Class Definition
Functions and Procedures

ComActivateView(Variant llIndex)
ActivateView activates a particular view by 1-based index
Short
ComActiveViewIndex()
ActiveViewIndex returns the 1-based index of the current view (tab)

ComAddView(Variant llGroupPath)
AddView adds a new view (tab). GroupPath can be a colon-delimited string (Country:State:City), a safe array of strings (Country, State, City), or a safe array of longs (1, 2, 0).

ComCloseView(Variant llIndex)
CloseView closes the view, given the 1-based index number of the view. S_FALSE is returned if the user was prompted to close drill-down or subreport views and elected not to proceed.
Boolean
ComDisplayBackgroundEdge()
Determines if the report is offset from the edge of its view window.
Boolean
ComDisplayBorder()
DisplayBorder indicates if the viewer has a border
Boolean
ComDisplayGroupTree()
Determine if the group tree is visible
Boolean
ComDisplayTabs()
DisplayTabs indicates if the viewer has tabs for navigation between views
Boolean
ComDisplayToolbar()
Determine if the toolbar is visible
Boolean
ComEnableAnimationCtrl()
Determine if the animation control is visible
Boolean
ComEnableCloseButton()
Determine if the close button is visible
Boolean
ComEnableDrillDown()
Deterimine if drill down is allowed
Boolean
ComEnableExportButton()
Status of the Export toolbar button
Boolean
ComEnableGroupTree()
Determine if the group tree is available
Boolean
ComEnableHelpButton()
Enable the help button on the toolbar
Boolean
ComEnableNavigationControls()
Determines if the viewer has navigation controls
Boolean
ComEnablePopupMenu()
Determine if the pop menu is available
Boolean
ComEnablePrintButton()
Determine if the print button is visible
Boolean
ComEnableProgressControl()
Determine if the progress control will be shown
Boolean
ComEnableRefreshButton()
Determine if the Refresh button is visible
Boolean
ComEnableSearchControl()
Determine if the search control is visible
Boolean
ComEnableSearchExpertButton()
Status of the Search Expert toolbar button
Boolean
ComEnableSelectExpertButton()
Determine if the Select Expert button is showing
Boolean
ComEnableStopButton()
Determines if the viewer has a stop button
Boolean
ComEnableToolbar()
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)
Boolean
ComEnableZoomControl()
Determine if the zoom control is visible
Integer
ComGetCurrentPageNumber()
GetCurrentPageNumber returns the page number of the report being viewed
Variant
ComGetGroup()
Get the group path of the current view. The the VT type of the VARIANT to control the type of result: VT_ARRAY | VT_I4 or VT_BSTR

ComGetLastPageNumber(Integer ByRef llpageN Boolean ByRef lllastPageKnown)
Get the last page number. The last page number may not have been calculated so it may not be known. For Visual Basic, a Long and a Boolean should be passed, Procedure style.
String
ComGetViewName(String ByRef llpTabName)
GetViewName returns the current view's tab name and the current report document's name.
Variant
ComGetViewPath(Short llIndex)
GetViewPath returns the path to the current view, given the 1-based index number of the view. Path contains a safe array of strings
Boolean
ComIsBusy()
IsBusy indicates if the control is busy.
Boolean
ComLaunchHTTPHyperlinksInNewBrowser()
Launch HTTP Hyperlinks in a new browser
UInteger
ComLocaleID()
Get the locale ID

ComPrintReport()
PrintReport initiates printing of the report in the current view

ComRefresh()
Refresh causes the view information to be reloaded and displayed

ComRefreshEx(Boolean llrefreshServerData)
Refresh the report, optionally causing the server to refresh its data
Variant
ComReportSource()
Get the report source

ComSearchByFormula(String llformula)
Search using the search formula. Search UI is shown if formula is empty.

ComSearchForText(String llText)
SearchForText allows searching for text across pages of the current view

ComShowFirstPage()
ShowFirstPage shows the first page of the current view

ComShowGroup(Variant llGroupPath)
ShowGroup displays the indicated group in the current view. GroupPath can be a colon-delimited string (Country:State:City), a safe array of strings (Country, State, City), or a safe array of longs (1, 2, 0).

ComShowLastPage()
ShowLastPage shows the last page of the current view

ComShowNextPage()
ShowNextPage shows the next page of the current view

ComShowNthPage(Short llPageNumber)
ShowNthPage shows the desired page of the current view

ComShowPreviousPage()
ShowPreviousPage shows the previous page of the current view
Variant
ComTrackCursorInfo()
Get the TrackCursorInfo object
Short
ComViewCount()
ViewCount returns the current number of views (tabs)

ComViewReport()
ViewReport

ComZoom(Short llZoomLevel)
Zoom changes the display of the report. All numbers are percentages except: 1 - fit width, 2 - fit page

Set(Variant value)
Get the report source

Set(Boolean value)
Determine if the group tree is visible

Set(Boolean value)
Determine if the toolbar is visible

Set(Boolean value)
Determine if the group tree is available

Set(Boolean value)
Determines if the viewer has navigation controls

Set(Boolean value)
Determines if the viewer has a stop button

Set(Boolean value)
Determine if the print button is visible

Set(Boolean value)
Determine if the zoom control is visible

Set(Boolean value)
Determine if the close button is visible

Set(Boolean value)
Determine if the progress control will be shown

Set(Boolean value)
Determine if the search control is visible

Set(Boolean value)
Determine if the Refresh button is visible

Set(Boolean value)
Deterimine if drill down is allowed

Set(Boolean value)
Determine if the animation control is visible

Set(Boolean value)
Determine if the Select Expert button is showing

Set(Boolean value)
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)

Set(Boolean value)
DisplayBorder indicates if the viewer has a border

Set(Boolean value)
DisplayTabs indicates if the viewer has tabs for navigation between views

Set(Boolean value)
Determines if the report is offset from the edge of its view window.

Set(Boolean value)
Determine if the pop menu is available

Set(Boolean value)
Status of the Export toolbar button

Set(Boolean value)
Status of the Search Expert toolbar button

Set(Boolean value)
Enable the help button on the toolbar

Set(Boolean value)
Launch HTTP Hyperlinks in a new browser

Set(UInteger value)
Get the locale ID