Interface INoteTag

Interface INoteTag

Nombre del espacio: Aspose.Note Asamblea: Aspose.Note.dll (25.4.0)

La interfaz para las etiquetas de notas (es decir, las tags que no están asociadas con las tareas de Outlook).

public interface INoteTag : ITag
   {
   }

Implements

ITag

Examples

Mostra cómo acceder a los detalles de una etiqueta.

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

Obtenga o establece el color de la letra.

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

Valor de la propiedad

Color

Examples

Mostra cómo acceder a los detalles de una etiqueta.

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

Obtenga o establece el color destacado.

Color highLight { get; set; }

Valor de la propiedad

Color

Examples

Mostra cómo acceder a los detalles de una etiqueta.

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

Obtenga o coloca el texto de la etiqueta.

string Label
{
    get
    {
    }
    set
    {
    }
}

Valor de la propiedad

string

 Español