Click or drag to resize

RemReportGetDocumentSize Method

Paperwork .Net Kütüphanesi
Arşiv Raporundaki , Belge Tipi , Belge Formatı ve Arşivleyen alanları kıstası ile arama yapıp doküman bilgilerini gösterir.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public rDocumentSize GetDocumentSize(
	int xType,
	string masterId,
	string objectType,
	string formatId,
	string owner
)

Parameters

xType
Type: SystemInt32
Kullanım amacı
xType = 1Dosya Kartı ve Kabinet listesi döner. (Belge Tipi , Belge Formatı ve Kullanıcı listesi)
xType = 2Belgeler listesini döner.(Arşiv Yeri , Nesne Adı , Tip Adı , Belge Formatı , Arşivleyen , Adet , Boyut)
xType = 3Belge Formatlarına göre gruplayarak döner.(Belge Formatı,Adet,Boyut)
xType = 4Aylık Grafiği döner. (Ay,Yıl,Adet,Boyut)
masterId
Type: SystemString
objectType
Type: SystemString
Nesnenin tipi
formatId
Type: SystemString
Format (TIF,JPG, DOCX vb.)
owner
Type: SystemString
Kullanıcı Adı

Return Value

Type: rDocumentSize
a_GenericResult nesesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
C#
public void GetDocumentSize()
{
    int xType = 4;
    string masterid = "";
    string objectType = "";
    string format = "";
    string owner = "";

    rDocumentSize retVal = p.rReport.GetDocumentSize(xType, masterid, objectType, format, owner);
    Console.WriteLine(retVal.Basic);
    Console.WriteLine(retVal.Content);
    Console.WriteLine(retVal.Desc);
    Console.WriteLine(retVal.Format);
    Console.WriteLine(retVal.Full);
    Console.WriteLine(retVal.TotalContentCount);
    Console.WriteLine(retVal.TotalContentSize);
    Console.WriteLine(retVal.Type);
    Console.WriteLine(retVal.User);
    Console.WriteLine(retVal.UserContentCount);
    Console.WriteLine(retVal.UserContentSize);
}
See Also