Click or drag to resize

PdfWebControlLite.RenderHead Method

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

Namespace:  RadPdf.Web.UI
Assembly:  RadPdfStandard (in RadPdfStandard.dll) Version: 4.4.0.0 (4.4.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 PdfWebControlLite named PdfWebControlLite1.
XML
<html>
    <head>
        <title>Example</title>
        <%=PdfWebControlLite.RenderHead() %>
    </head>
    <body>
        <%=PdfWebControlLite1.RenderControl() %>
    </body>
</html>
See Also
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!