Click or drag to resize

RemPresetsTemplates Method

Paperwork .Net Kütüphanesi
Belge taslaklarının (Detaylı) listesini döner.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public List<a_Template> Templates(
	string templateName,
	string typeName = ""
)

Parameters

templateName
Type: SystemString
Filtre (istenilen taslak adı)
typeName (Optional)
Type: SystemString
Filtre (tipe göre filtrelemek için kullanılır)

Return Value

Type: Lista_Template
Verilen taslak adına göre taslak bilgilerini döndürür.
Examples
C#
public void Templates() 
{
          string template_name   = string.Empty;            
          List<a_Template> templates = p.rPreset.Templates(template_name);

          if (templates.Count == 0)
              throw new Exception("Belge taslağı bulunamadı");

          foreach (a_Template t in templates)
              Console.WriteLine("Taslak nesne no: {0}, durumu:{1}, adı:{2}", t.ObjectId, t.State, t.TemplateName);
          Console.ReadLine();
}
    
See Also