Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns all available rendering extensions for the server report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public override RenderingExtension[] ListRenderingExtensions()
public:
virtual array<RenderingExtension^>^ ListRenderingExtensions() override
override ListRenderingExtensions : unit -> RenderingExtension[]
Public Overrides Function ListRenderingExtensions As RenderingExtension()
Return Value
Type: Microsoft.Reporting.WinForms.RenderingExtension[]
An array of RenderingExtension objects.
Remarks
This method can be used to populate drop-down lists to allow users to select a rendering extension for export.
Examples
Legacy Code Example
Private Sub Button2_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button2.Click
Dim extensions As RenderingExtension() = _
ReportViewer1.ServerReport.ListRenderingExtensions()
For Each extension As RenderingExtension In extensions
Debug.WriteLine("Extension: " + extension.Name + _
" Visible? " + extension.Visible.ToString)
Next
End Sub
See Also
ServerReport Class
Microsoft.Reporting.WinForms Namespace
Return to top