GetRenderResource Method
Collapse the table of content
Expand the table of content

ReportingService2005.GetRenderResource Method

Returns the resource for a specified rendering extension format.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

[SoapDocumentMethodAttribute("", RequestNamespace = "", 
	ResponseNamespace = "", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public byte[] GetRenderResource(
	string Format,
	string DeviceInfo,
	out string MimeType


Type: System.String
The format of the rendering extension for which to retrieve the resource (HTML4.0, XML, IMAGE, and so on). For a list of available rendering extensions, use the ListExtensions method.
Type: System.String
The device-specific settings used by the rendering extension.
Type: System.String%
[out] The MIME type of the resource.

Return Value

Type: System.Byte[]
The rendering extension resource as a Base 64-encoded byte array. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.

The table below shows header and permissions information on this operation.

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions


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 Reporting Services Device Information Settings.

Community Additions

© 2016 Microsoft