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