ASP.NET Web Document Viewer SDK Control

LoadImage

 

Load the image from uploads folder. 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 load the specific image and specific GUID folder (specific user).

bool LoadImage(
 string strGUID,
 string strFileName
 )

 

Parameter
strGUID - the string of GUID

strFile - the string of file name.

Return Value
return true - successful, return false - failed

Example

   

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

}