Interface INoteTag

Interface INoteTag

اسم الفضاء : Aspose.Note تجميع: Aspose.Note.dll (25.4.0)

واجهة علامات الملاحظات (أي علامة غير مرتبطة بمهام Outlook).

public interface INoteTag : ITag
   {
   }

Implements

ITag

Examples

إظهار كيفية الوصول إلى تفاصيل علامة.

string dataDir = RunExamples.GetDataDir_Tags();
   Document oneFile = new Document(dataDir + "TagFile.one");
   IList<RichText> nodes = oneFile.GetChildNodes<RichText>();
   foreach (RichText richText in nodes)
   {
       var tags = richText.Tags.OfType<Notetag>();
       if (tags.Any())
       {
           Console.WriteLine($"Text: {richText.Text}");
           foreach (var noteTag in tags)
           {
               Console.WriteLine($"    Completed Time: {noteTag.CompletedTime}");
               Console.WriteLine($"    Create Time: {noteTag.CreationTime}");
               Console.WriteLine($"    Font Color: {noteTag.FontColor}");
               Console.WriteLine($"    Status: {noteTag.Status}");
               Console.WriteLine($"    Label: {noteTag.Label}");
               Console.WriteLine($"    Icon: {noteTag.Icon}");
               Console.WriteLine($"    High Light: {noteTag.Highlight}");
           }
       }
   }

Properties

FontColor

يحصل أو يضع لون الخط.

Color fontColor;
   public Color FontColor
   {
      get { return fontColor; }
      set { fontColor = value; }
   }

قيمة الممتلكات

Color

Examples

إظهار كيفية الوصول إلى تفاصيل علامة.

string dataDir = RunExamples.GetDataDir_Tags();
   Document oneFile = new Document(dataDir + "TagFile.one");
   IList<RichText> nodes = oneFile.GetChildNodes<RichText>();
   foreach (RichText richText in nodes)
   {
       var tags = richText.Tags.OfType<Notetag>();
       if (tags.Any())
       {
           Console.WriteLine($"Text: {richText.Text}");
           foreach (var noteTag in tags)
           {
               Console.WriteLine($"    Completed Time: {noteTag.CompletedTime}");
               Console.WriteLine($"    Create Time: {noteTag.CreationTime}");
               Console.WriteLine($"    Font Color: {noteTag.FontColor}");
               Console.WriteLine($"    Status: {noteTag.Status}");
               Console.WriteLine($"    Label: {noteTag.Label}");
               Console.WriteLine($"    Icon: {noteTag.Icon}");
               Console.WriteLine($"    High Light: {noteTag.Highlight}");
           }
       }
   }

Highlight

يحصل أو يضع اللون البارز.

Color highLight { get; set; }

قيمة الممتلكات

Color

Examples

إظهار كيفية الوصول إلى تفاصيل علامة.

string dataDir = RunExamples.GetDataDir_Tags();
   Document oneFile = new Document(dataDir + "TagFile.one");
   IList<RichText> nodes = oneFile.GetChildNodes<RichText>();
   foreach (RichText richText in nodes)
   {
       var tags = richText.Tags.OfType<NoteTag>();
       if (tags.Any())
       {
           Console.WriteLine($"Text: {richText.Text}");
           foreach (var noteTag in tags)
           {
               Console.WriteLine($"    Completed Time: {noteTag.CompletedTime}");
               Console.WriteLine($"    Create Time: {noteTag.CreationTime}");
               Console.WriteLine($"    Font Color: {noteTag.FontColor}");
               Console.WriteLine($"    Status: {noteTag.Status}");
               Console.WriteLine($"    Label: {noteTag.Label}");
               Console.WriteLine($"    Icon: {noteTag.Icon}");
               Console.WriteLine($"    High Light: {noteTag.Highlight}");
           }
       }
   }

Label

يحصل أو يضع النص العلامة.

string Label
{
    get
    {
    }
    set
    {
    }
}

قيمة الممتلكات

string

 عربي