Code: Select all
GdPicture12.WEB.DocuVieware docuVieware = new GdPicture12.WEB.DocuVieware
{
ID = "DocuVieware1",
CacheFolder = HttpRuntime.AppDomainAppPath + "\\Cache",
Height = new System.Web.UI.WebControls.Unit("100%"),
Width = new System.Web.UI.WebControls.Unit("100%")
};
docuVieware.LoadFromURI(new Uri(Model.FileName));
docuVieware.RenderControl(Output);