Click or drag to resize

PdfWebControlRenderHead Method

Renders the PdfWebControl required HTML HEAD elements (e.g. script, style, etc.) to the specified text writer, for use in advanced applications such as a Custom HttpHandler, inline ASPX pages, or ASP.NET MVC view rendering.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.44.0.0 (3.44.0.0)
Syntax
public static string RenderHead()

Return Value

Type: String
A string that represents the HTML HEAD child elements.
Remarks

This method does not conisder any value assigned to BasePath.

Examples
The following code example demonstrates the rendering to an ASPX page (presuming a PdfWebControl named PdfWebControl1.
XML
<html>
    <head>
        <title>Example</title>
        <%=PdfWebControl.RenderHead() %>
    </head>
    <body>
        <%=PdfWebControl1.RenderControl() %>
    </body>
</html>
See Also