ASP.NET Web Document Viewer SDK Control

GetCurrentGUID

 

When you click open file button, then upload the image, it will create the GUID and use GUID for naming folder in Upload folder. You can use this method to Get the current user GUID.
 

void GetCurrentGUID()

 

No Parameter

Return Value
return the string of the GUID

Example

   

C# Syntax
 protected void Button1_Click(object sender, EventArgs e)
{
string strGUID = WebDocumentViewer1.GetCurrentGUID();
bool bResult = WebDocumentViewer1.LoadImage(strGUID, "yourfile.pdf");

}