Class NoteTask

Class NoteTask

İsim alanı : Aspose.Note Toplama: Aspose.Note.dll (25.4.0)

Bir not görevini temsil eder.

public sealed class NoteTask : CheckBox, ITag, IEquatable<notetask>

Inheritance

object CheckBox NoteTask

Implements

ITag , IEquatable

mirasçı üyeleri

CheckBox.SetCompleted(DateTime) , CheckBox.SetCompleted() , CheckBox.SetOpen() , CheckBox.CreationTime , CheckBox.CompletedTime , CheckBox.Status , CheckBox.Icon , CheckBox.Label , CheckBox.Checked , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

“Project A” ile ilgili tüm sayfaları içeren bir pdf nasıl oluşturulur gösterir.

// The path to the documents directory.
                                                                                   string dataDir = RunExamples.GetDataDir_Tags();

                                                                                   // Load the document into Aspose.Note.
                                                                                   var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));

                                                                                   var report = new Document();
                                                                                   foreach (var page in oneFile)
                                                                                   {
                                                                                       if (page.GetChildNodes<itaggable>().Any(e =&gt; e.Tags.Any(x =&gt; x.Label.Contains("Project A"))))
                                                                                       {
                                                                                           report.AppendChildLast(page.Clone());
                                                                                       }
                                                                                   }

                                                                                   report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));</itaggable>

Outlook’un görevlerinin ayrıntılarına nasıl erişeceğinizi gösterir.

// The path to the documents directory.
                                                          string dataDir = RunExamples.GetDataDir_Tasks();

                                                          // Load the document into Aspose.Note.
                                                          Document oneFile = new Document(dataDir + "Aspose.one");

                                                          // Get all RichText nodes
                                                          IList<richtext> nodes = oneFile.GetChildNodes<richtext>();

                                                          // Iterate through each node
                                                          foreach (RichText richText in nodes)
                                                          {
                                                              var tasks = richText.Tags.OfType<notetask>();
                                                              if (tasks.Any())
                                                              {
                                                                  Console.WriteLine($"Task: {richText.Text}");
                                                                  foreach (var noteTask in tasks)
                                                                  {
                                                                      // Retrieve properties
                                                                      Console.WriteLine($"    Completed Time: {noteTask.CompletedTime}");
                                                                      Console.WriteLine($"    Create Time: {noteTask.CreationTime}");
                                                                      Console.WriteLine($"    Due Date: {noteTask.DueDate}");
                                                                      Console.WriteLine($"    Status: {noteTask.Status}");
                                                                      Console.WriteLine($"    Icon: {noteTask.Icon}");
                                                                  }
                                                              }
                                                          }</notetask></richtext></richtext>

Properties

DueDate

Doğru tarih alın veya belirlenir.

public DateTime DueDate { get; set; }

Mülkiyet Değer

DateTime

Examples

“Project A” ile ilgili tüm sayfaları içeren bir pdf nasıl oluşturulur gösterir.

// The path to the documents directory.
                                                                                   string dataDir = RunExamples.GetDataDir_Tags();

                                                                                   // Load the document into Aspose.Note.
                                                                                   var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));

                                                                                   var report = new Document();
                                                                                   foreach (var page in oneFile)
                                                                                   {
                                                                                       if (page.GetChildNodes<itaggable>().Any(e =&gt; e.Tags.Any(x =&gt; x.Label.Contains("Project A"))))
                                                                                       {
                                                                                           report.AppendChildLast(page.Clone());
                                                                                       }
                                                                                   }

                                                                                   report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));</itaggable>

Outlook’un görevlerinin ayrıntılarına nasıl erişeceğinizi gösterir.

// The path to the documents directory.
                                                          string dataDir = RunExamples.GetDataDir_Tasks();

                                                          // Load the document into Aspose.Note.
                                                          Document oneFile = new Document(dataDir + "Aspose.one");

                                                          // Get all RichText nodes
                                                          IList<richtext> nodes = oneFile.GetChildNodes<richtext>();

                                                          // Iterate through each node
                                                          foreach (RichText richText in nodes)
                                                          {
                                                              var tasks = richText.Tags.OfType<notetask>();
                                                              if (tasks.Any())
                                                              {
                                                                  Console.WriteLine($"Task: {richText.Text}");
                                                                  foreach (var noteTask in tasks)
                                                                  {
                                                                      // Retrieve properties
                                                                      Console.WriteLine($"    Completed Time: {noteTask.CompletedTime}");
                                                                      Console.WriteLine($"    Create Time: {noteTask.CreationTime}");
                                                                      Console.WriteLine($"    Due Date: {noteTask.DueDate}");
                                                                      Console.WriteLine($"    Status: {noteTask.Status}");
                                                                      Console.WriteLine($"    Icon: {noteTask.Icon}");
                                                                  }
                                                              }
                                                          }</notetask></richtext></richtext>

Icon

İkonu alın veya ayarlayın.

public override TagIcon Icon { get; }

Mülkiyet Değer

TagIcon

Methods

CreateCustomFollowUpDate(DateTime)

NoFollowUpDateFlag simgesi ve belirtilen tarih ile yeni bir not görevi oluşturur.

public static NoteTask CreateCustomFollowUpDate(DateTime dueDate)

Parameters

dueDate DateTime

İKİNCİ BİLGİ.

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

CreateFollowUpNextWeek()

FollowUpNextWeekFlag simgesiyle yeni bir not görevi oluşturun.

public static NoteTask CreateFollowUpNextWeek()

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

CreateFollowUpThisWeek()

FollowUpThisWeekFlag simgesiyle yeni bir not görevi oluşturun.

public static NoteTask CreateFollowUpThisWeek()

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

CreateFollowUpToday()

FollowUpTodayFlag simgesiyle yeni bir not görevi oluşturun.

public static NoteTask CreateFollowUpToday()

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

CreateFollowUpTomorrow()

FollowUpTomorrowFlag simgesiyle yeni bir not görevi oluşturun.

public static NoteTask CreateFollowUpTomorrow()

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

CreateNoFollowUpDate()

NoFollowUpDateFlag simgesiyle yeni bir not görevi oluşturun.

public static NoteTask CreateNoFollowUpDate()

Returns

NoteTask

Bu ilanı beğen Eki 31 Notes.

Equals(nesne)

Belirlenen nesnenin mevcut nesneye eşit olup olmadığını belirler.

public override bool Equals(object obj)

Parameters

obj object

Bu nesne.

Returns

bool

Bu sistem boolean.

Equals(NoteTask)

Belirlenen nesnenin mevcut nesneye eşit olup olmadığını belirler.

public bool Equals(NoteTask other)

Parameters

other NoteTask

Bu nesne.

Returns

bool

Bu sistem boolean.

GetHashCode()

Tip için bir hash fonksiyonu olarak hizmet eder.

public override int GetHashCode()

Returns

int

Sistem.Int32 ile ilgili bilgiler.

SetOpen()

Açık devlet için etiketi ayarlayın.

public override void SetOpen()

 Türkçe