Class NoteTask
이름 공간 : Aspose.Note 모임: Aspose.Note.dll (25.4.0)
노트 작업을 나타냅니다.
public sealed class NoteTask : Aspose.Words.CheckBox, ITag, IEquatable<NoteTask>
{
}
Inheritance
Implements
상속 회원들
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
‘프로젝트 A’와 관련된 모든 페이지를 포함하는 PDF를 생성하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_Tags();
var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));
var report = new Document();
foreach (var page in oneFile)
{
if (page.GetChildNodes<itaggable>().Any(e => e.Tags.Any(x => x.Label.Contains("Project A"))))
{
report.AppendChildLast(page.Clone());
}
}
report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));
Outlook의 작업에 대한 자세한 내용에 액세스하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_Tasks();
Document oneFile = new Document(dataDir + "Aspose.one");
IList<RichText> nodes = oneFile.GetChildNodes<RichText>();
foreach (RichText richText in nodes)
{
var tasks = richText.Tags.OfType<Notetask>();
if (tasks.Any())
{
Console.WriteLine($"Task: {richText.Text}");
Console.WriteLine($" Completed Time: {tasks.First().CompletedTime}");
Console.WriteLine($" Create Time: {tasks.First().CreationTime}");
Console.WriteLine($" Due Date: {tasks.First().DueDate}");
Console.WriteLine($" Status: {tasks.First().Status}");
Console.WriteLine($" Icon: {tasks.First().Icon}");
}
}
Properties
DueDate
적절한 날짜를 얻거나 설정합니다.
public DateTime DueDate
{
get;
set;
}
부동산 가치
Examples
‘프로젝트 A’와 관련된 모든 페이지를 포함하는 PDF를 생성하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_Tags();
var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));
var report = new Document();
foreach (var page in oneFile)
{
if (page.GetChildNodes<ITaggable>().Any(e => e.Tags.Any(x => x.Label.Contains("Project A"))))
{
report.AppendChildLast(page.Clone());
}
}
report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));
Outlook의 작업에 대한 자세한 내용에 액세스하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_Tasks();
Document oneFile = new Document(dataDir + "Aspose.one");
IList<RichText> nodes = oneFile.GetChildNodes<RichText>();
foreach (RichText richText in nodes)
{
var tasks = richText.Tags.OfType<Notetask>();
if (tasks.Any())
{
Console.WriteLine($"Task: {richText.Text}");
foreach (var noteTask in tasks)
{
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}");
}
}
}
Icon
아이콘을 얻거나 설정합니다.
public override TagIcon Icon
{
get;
}
부동산 가치
Methods
CreateCustomFollowUpDate(일정 시간)
NoFollowUpDateFlag 아이콘과 지정된 날짜를 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateCustomFollowUpDate(DateTime dueDate)
{
var noteTask = new NoteTask()
{
Title = "Follow up on " + dueDate.ToShortDateString(),
Status = TaskStatus.NotStarted,
StartDate = dueDate,
DueDate = dueDate.AddDays(7),
PercentComplete = 0
};
return noteTask;
}
Parameters
dueDate
DateTime
두 번째 날짜입니다.
Returns
아스포스.노트에 대한 의견
일주일이면 다음주( )
FollowUpNextWeekFlag 아이콘을 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateFollowUpNextWeek()
{
var noteTask = new NoteTask
{
Status = TaskStatus.NotStarted,
StartDate = DateTime.Today.AddDays(7),
EndDate = DateTime.Today.AddDays(14),
Title = "Follow Up Next Week",
Body = "Follow up on the discussed items with the relevant parties."
};
return noteTask;
}
Returns
아스포스.노트에 대한 의견
일주일을 만드는 방법( )
FollowUpThisWeekFlag 아이콘을 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateFollowUpThisWeek()
{
var noteTask = new NoteTask();
noteTask.Title = "Follow Up This Week";
noteTask.StartDate = DateTime.Today.AddDays(7);
return noteTask;
}
Returns
아스포스.노트에 대한 의견
오늘의 발음을 [en]
FollowUpTodayFlag 아이콘을 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateFollowUpToday()
{
var noteTask = new NoteTask
{
Status = TaskStatus.NotStarted,
DueBy = DateTime.Now.AddDays(1),
Subject = "Follow up on action items from today's meeting",
Priority = TaskPriority.Medium
};
return noteTask;
}
Returns
아스포스.노트에 대한 의견
내일을 만드는 방법( )
FollowUpTomorrowFlag 아이콘을 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateFollowUpTomorrow()
{
var noteTask = new NoteTask();
noteTask.CreationTime = DateTime.Now;
noteTask.Status = TaskStatus.Incomplete;
var dueDate = DateTime.Today.AddDays(1);
noteTask.DueDate = dueDate;
noteTask.Title = "Follow up tomorrow";
noteTask.Content = "Follow up on this task tomorrow.";
}
Returns
아스포스.노트에 대한 의견
녹음하기(FollowUpDate)
NoFollowUpDateFlag 아이콘을 사용하여 새 노트 작업을 만듭니다.
public static NoteTask CreateNoFollowUpDate()
{
var noteTask = new NoteTask();
noteTask.FollowUpFlag = FollowUpFlag.None;
return noteTask;
}
Returns
아스포스.노트에 대한 의견
동등한 개체(Object)
지정된 개체가 현재의 개체와 동일한지 결정합니다.
public override bool Equals(object obj)
{
}
I've properly indented the code, added a new line after the opening brace and before the closing one for better readability.
Parameters
obj
object
그 물건을
Returns
시스템 - Boolean
노트 타스크 (NoteTask)
지정된 개체가 현재의 개체와 동일한지 결정합니다.
public bool Equals(NoteTask other)
{
return this.ID == other.ID;
}
Parameters
other
NoteTask
그 물건을
Returns
시스템 - Boolean
하스 코드( )
그것은 그 유형에 대한 해시 기능으로 사용됩니다.
public override int GetHashCode()
{
}
Returns
시스템.Int32에 해당되는 글 1건
세트 오픈()
열려 있는 상태로 탭을 설정합니다.
public override void SetOpen()
{
}