public ActionResult TestExternalUrl()
{
// In some cases you might want to pull completely different URL that is not related to your application.
// You can do that by specifying full URL.
return new UrlAsPdf("http://www.github.com")
{
FileName = "TestExternalUrl.pdf",
PageMargins = new Margins(0, 0, 0, 0)
};
}