GetRenderResource Method
SQL Server 2000
ReportingService.GetRenderResource Method
Returns the resource for a specified rendering extension format.
Public Function GetRenderResource( _ ByVal Format As String, _ ByVal DeviceInfo As String, _ ByRef MimeType As String _ ) As Byte() Member of [Namespace].ReportingService
public System.Byte[] GetRenderResource( string Format, string DeviceInfo, out string MimeType ); Member of [Namespace].ReportingService
Parameters
- Format
- The format of the rendering extension for which to retrieve the resource (HTML5, XML, IMAGE and so on).
- DeviceInfo
- The device-specific settings used by the rendering extension.
- MimeType
- The MIME type of the resource.
Return Value
The rendering extension resource as a Base 64-encoded byte array. For more information about this data type, see "Byte Structure" in the .NET Framework documentation.
Remarks
An example of a rendering resource that is returned by the GetRenderResource method is the plus (+) image, which is used to expand groups in the HTML rendering extension. The resource that the method returns depends on the DeviceInfo parameter that is supplied. For more information about device information settings for rendering extensions, see Device Information Settings.