Export (0) Print
Expand All

ServerReport.ListRenderingExtensions Method

Returns all available rendering extensions for the server report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

public override RenderingExtension[] ListRenderingExtensions ()
public RenderingExtension[] ListRenderingExtensions ()
public override function ListRenderingExtensions () : RenderingExtension[]

Return Value

An array of RenderingExtension objects.

This method can be used to populate drop-down lists to allow users to select a rendering extension for export.

Private Sub Button2_Click(ByVal sender As System.Object, _
     ByVal e As System.EventArgs) Handles Button2.Click
   Dim extensions As RenderingExtension() = _

   For Each extension As RenderingExtension In extensions
   Debug.WriteLine("Extension: " + extension.Name + _
     " Visible? " + extension.Visible.ToString)

End Sub
© 2014 Microsoft