
Passing Device Information Using the Render Method
To pass device information settings to a rendering extension, use the Render method. For example, the following XML string can be passed to the Render method to create an HTML fragment when rendering to HTML.
<DeviceInfo>
<HTMLFragment>True</HTMLFragment>
</DeviceInfo>
When a report is rendered as an HTML fragment, the content of the report is contained within a TABLE element without the use of an HTML or BODY element. You can use the HTML fragment to incorporate the report into an existing HTML document. For more information about device information settings for HTML output, see HTML Device Information Settings.