Expand Minimize
This topic has not yet been rated - Rate this topic

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.

See Also

ReportingService Class

Reporting Services Web Service Library

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.