RemDocumentGetHTML Method |
Namespace: Paperwork.Connect
public a_GenericResult GetHTML( ObjectID objectId, string user )
public void GetHTML()
{
string str_objectId = "FF00010000000001";
ObjectID oid = new ObjectID(str_objectId);
string user = "argus"; // "İşlemi yapan kullanıcı";
a_GenericResult retval = p.rDocument.GetHTML(oid, user);
if (retval.ErrorCode != 0)
throw new Exception(retval.Message);
string html = retval.Result;
Console.WriteLine(html);
System.IO.File.WriteAllText(string.Format(@"c:\{0}.html", str_objectId), html);
}