hi
i am new to groupdocs.viewer in web form, i use the code to view the doc file in web form the code i taken from gituhub i config the groupdocs.viewer dll in my project.
i use the code like this but not view in the viewer it download in local path.
string documentPath = @"C:\Users\admin\Desktop\170 fils\change in sql sp copy.docx";
using (Viewer viewer = new Viewer(documentPath))
{
// Set view options
//ViewOptions viewOptions = new PngViewOptions();
string filePathFormat = @"C:\Users\admin\Desktop\170 fils\output\1.png";
//HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources(filePathFormat);
//viewer.View(options);
ViewOptions viewOptions = new PngViewOptions(filePathFormat);
// Convert file to PNG and check the output in the current directory
viewer.View(viewOptions);
}
i want the sample for view the file in viewer.