C# Класс fyiReporting.RdlViewer.RdlViewer

RdlViewer displays RDL files or syntax.
Наследование: System.Windows.Forms.Control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
GetDataSourceReferencePassword NeedPassword

Открытые методы

Метод Описание
Copy ( ) : void

Copies the current selection (if any) to the clipboard.

Find ( string search ) : fyiReporting.RDL.PageItem

Finds the first instance of the search string.

Find ( string search, fyiReporting.RDL.PageItem position, RdlViewerFinds options ) : fyiReporting.RDL.PageItem

Find locates the next string after the passed location. Use ScrollToPageItem to then reposition the Viewer on that item

FindNext ( ) : void

Causes the find panel to find the next item

Focus ( ) : bool
HideRunButton ( ) : void
Print ( System.Drawing.Printing.PrintDocument pd ) : void

Print the report.

RdlViewer ( ) : System
Rebuild ( ) : void

Forces the report to get rebuilt especially after changing parameters or data.

SaveAs ( string FileName, fyiReporting type ) : void

Save the file. The extension determines the type of file to save.

ScrollToPageItem ( fyiReporting.RDL.PageItem pi ) : void
SetReportParameters ( string>.IDictionary parameters ) : void
SetReportParametersAmpersandSeparated ( string parameterString ) : void
SetReportParametersAsJson ( string jsonParameterString ) : void
ShowRunButton ( ) : void
StopWaitDialog ( ) : bool
r_SubreportDataRetrieval ( object sender, SubreportDataRetrievalEventArgs e ) : void

Приватные методы

Метод Описание
CalcZoom ( ) : void
CalcZoomFitPage ( ) : void
CalcZoomFitWidth ( ) : void
ChangePageEvent ( ) : void
DrawPanelKeyDown ( object sender, KeyEventArgs e ) : void
DrawPanelMouseWheel ( object sender, MouseEventArgs e ) : void
DrawPanelPaint ( object sender, System e ) : void
DrawPanelResize ( object sender, EventArgs e ) : void
GetPages ( ) : fyiReporting.RDL.Pages
GetPages ( Report report ) : fyiReporting.RDL.Pages
GetParameters ( ) : IDictionary
GetRdlSource ( ) : string
GetReport ( ) : Report
GetReportEmptyMsg ( ) : string
GetReportErrorMsg ( ) : string
HorizontalScroll ( object sender, System e ) : void
InvokeHyperlink ( HyperlinkEventArgs hlea ) : void
LoadPageIfNeeded ( ) : void

Call LoadPageIfNeeded when a routine requires the report to be loaded in order to fulfill the request.

ParametersBuild ( Report r ) : void
ParametersLeave ( object sender, EventArgs e ) : void
ParametersTextValidated ( object sender, System e ) : void
ParametersViewClick ( object sender, System e ) : void
PixelsX ( float x ) : int
PixelsY ( float y ) : int
PointsX ( float x ) : float
PointsY ( float y ) : float
PrintPage ( object sender, System.Drawing.Printing.PrintPageEventArgs e ) : void
RdlViewer_Layout ( object sender, System.Windows.Forms.LayoutEventArgs e ) : void
SetParameterValue ( String key, String value ) : void
SetScrollControls ( ) : void
SetScrollControlsH ( ) : void
SetScrollControlsV ( ) : void
VerticalScroll ( object sender, System e ) : void
WarningClick ( object sender, System e ) : void
WarningVisible ( ) : bool
_Print ( System.Drawing.Printing.PrintDocument pd ) : void
_WarningButton_Paint ( object sender, PaintEventArgs e ) : void
doPossibleDecryption ( String rdl ) : String
showWait ( ) : void

Описание методов

Copy() публичный Метод

Copies the current selection (if any) to the clipboard.
public Copy ( ) : void
Результат void

Find() публичный Метод

Finds the first instance of the search string.
public Find ( string search ) : fyiReporting.RDL.PageItem
search string
Результат fyiReporting.RDL.PageItem

Find() публичный Метод

Find locates the next string after the passed location. Use ScrollToPageItem to then reposition the Viewer on that item
public Find ( string search, fyiReporting.RDL.PageItem position, RdlViewerFinds options ) : fyiReporting.RDL.PageItem
search string Text to search for
position fyiReporting.RDL.PageItem PageItem after which to start search. null starts at beginning
options RdlViewerFinds Multiple options can be or'ed together.
Результат fyiReporting.RDL.PageItem

FindNext() публичный Метод

Causes the find panel to find the next item
public FindNext ( ) : void
Результат void

Focus() публичный Метод

public Focus ( ) : bool
Результат bool

HideRunButton() публичный Метод

public HideRunButton ( ) : void
Результат void

Print() публичный Метод

Print the report.
public Print ( System.Drawing.Printing.PrintDocument pd ) : void
pd System.Drawing.Printing.PrintDocument
Результат void

RdlViewer() публичный Метод

public RdlViewer ( ) : System
Результат System

Rebuild() публичный Метод

Forces the report to get rebuilt especially after changing parameters or data.
public Rebuild ( ) : void
Результат void

SaveAs() публичный Метод

Save the file. The extension determines the type of file to save.
public SaveAs ( string FileName, fyiReporting type ) : void
FileName string Name of the file to be saved to.
type fyiReporting Type of file to save. Should be "pdf", "xml", "html", "mhtml", "csv", "rtf", "excel", "tif".
Результат void

ScrollToPageItem() публичный Метод

public ScrollToPageItem ( fyiReporting.RDL.PageItem pi ) : void
pi fyiReporting.RDL.PageItem
Результат void

SetReportParameters() публичный Метод

public SetReportParameters ( string>.IDictionary parameters ) : void
parameters string>.IDictionary
Результат void

SetReportParametersAmpersandSeparated() публичный Метод

public SetReportParametersAmpersandSeparated ( string parameterString ) : void
parameterString string
Результат void

SetReportParametersAsJson() публичный Метод

public SetReportParametersAsJson ( string jsonParameterString ) : void
jsonParameterString string
Результат void

ShowRunButton() публичный Метод

public ShowRunButton ( ) : void
Результат void

StopWaitDialog() публичный Метод

public StopWaitDialog ( ) : bool
Результат bool

r_SubreportDataRetrieval() публичный Метод

public r_SubreportDataRetrieval ( object sender, SubreportDataRetrievalEventArgs e ) : void
sender object
e fyiReporting.RDL.SubreportDataRetrievalEventArgs
Результат void

Описание свойств

GetDataSourceReferencePassword публичное свойство

public NeedPassword GetDataSourceReferencePassword
Результат NeedPassword