## NoteTag class

Stellt ein Notiz-Tag dar.

```csharp
public sealed class NoteTag : IEquatable<NoteTag>, INoteTag
```

## Eigenschaften

| Name | Beschreibung |
| --- | --- |
| [CompletedTime](../../aspose.note/notetag/completedtime/) { get; } | Ruft die abgeschlossene Zeit ab oder legt sie fest. |
| [CreationTime](../../aspose.note/notetag/creationtime/) { get; set; } | Ruft die Erstellungszeit ab oder legt sie fest. |
| [FontColor](../../aspose.note/notetag/fontcolor/) { get; set; } | Ruft die Schriftfarbe ab oder legt sie fest. |
| [Highlight](../../aspose.note/notetag/highlight/) { get; set; } | Ruft die Hervorhebungsfarbe ab oder legt sie fest. |
| [Icon](../../aspose.note/notetag/icon/) { get; set; } | Ruft das Symbol ab oder legt es fest. |
| [Label](../../aspose.note/notetag/label/) { get; set; } | Ruft den Beschriftungstext ab oder legt ihn fest. |
| [Status](../../aspose.note/notetag/status/) { get; } | Ruft den Status ab oder setzt ihn. |

## Methoden

| Name | Beschreibung |
| --- | --- |
| static [CreateAwardRibbon](../../aspose.note/notetag/createawardribbon/)(string) | Erstellt ein neues Notiz-Tag mit AwardRibbon-Symbol und angegebenem Label. |
| static [CreateBinoculars](../../aspose.note/notetag/createbinoculars/)(string) | Erstellt ein neues Notiz-Tag mit Fernglas-Symbol und angegebenem Label. |
| static [CreateBlankPaperWithLines](../../aspose.note/notetag/createblankpaperwithlines/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „BlankPaperWithLines“ und der angegebenen Beschriftung. |
| static [CreateBlueCheckMark](../../aspose.note/notetag/createbluecheckmark/)(string) | Erstellt ein neues Notiz-Tag mit BlueCheckMark-Symbol und angegebenem Label. |
| static [CreateBlueCircle](../../aspose.note/notetag/createbluecircle/)(string) | Erstellt ein neues Notiz-Tag mit BlueCircle-Symbol und angegebenem Label. |
| static [CreateBlueCircle1](../../aspose.note/notetag/createbluecircle1/)(string) | Erstellt ein neues Notiz-Tag mit dem BlueCircle1-Symbol und der angegebenen Bezeichnung. |
| static [CreateBlueCircle2](../../aspose.note/notetag/createbluecircle2/)(string) | Erstellt ein neues Notiz-Tag mit BlueCircle2-Symbol und angegebenem Label. |
| static [CreateBlueCircle3](../../aspose.note/notetag/createbluecircle3/)(string) | Erstellt ein neues Notiz-Tag mit BlueCircle3-Symbol und angegebenem Label. |
| static [CreateBlueDownArrow](../../aspose.note/notetag/createbluedownarrow/)(string) | Erstellt ein neues Notiz-Tag mit BlueDownArrow-Symbol und angegebenem Label. |
| static [CreateBlueEightPointStar](../../aspose.note/notetag/createblueeightpointstar/)(string) | Erstellt ein neues Notiz-Tag mit BlueEightPointStern-Symbol und angegebenem Label. |
| static [CreateBlueFollowUpFlag](../../aspose.note/notetag/createbluefollowupflag/)(string) | Erstellt ein neues Notiz-Tag mit BlueFollowUpFlag-Symbol und angegebenem Label. |
| static [CreateBlueLeftArrow](../../aspose.note/notetag/createblueleftarrow/)(string) | Erstellt ein neues Notiz-Tag mit BlueLeftArrow-Symbol und angegebener Beschriftung. |
| static [CreateBlueRightArrow](../../aspose.note/notetag/createbluerightarrow/)(string) | Erstellt ein neues Notiz-Tag mit BlueRightArrow-Symbol und angegebener Beschriftung. |
| static [CreateBlueSolidTarget](../../aspose.note/notetag/createbluesolidtarget/)(string) | Erstellt ein neues Notiz-Tag mit BlueSolidTarget-Symbol und angegebenem Label. |
| static [CreateBlueSquare](../../aspose.note/notetag/createbluesquare/)(string) | Erstellt ein neues Notiz-Tag mit BlueSquare-Symbol und angegebener Beschriftung. |
| static [CreateBlueStar](../../aspose.note/notetag/createbluestar/)(string) | Erstellt ein neues Notiz-Tag mit BlueStar-Symbol und angegebenem Label. |
| static [CreateBlueSun](../../aspose.note/notetag/createbluesun/)(string) | Erstellt ein neues Notiz-Tag mit BlueSun-Symbol und angegebenem Label. |
| static [CreateBlueTarget](../../aspose.note/notetag/createbluetarget/)(string) | Erstellt ein neues Notiz-Tag mit BlueTarget-Symbol und angegebenem Label. |
| static [CreateBlueTriangle](../../aspose.note/notetag/createbluetriangle/)(string) | Erstellt ein neues Notiz-Tag mit BlueTriangle-Symbol und angegebenem Label. |
| static [CreateBlueUmbrella](../../aspose.note/notetag/createblueumbrella/)(string) | Erstellt ein neues Notiz-Tag mit BlueUmbrella-Symbol und angegebenem Label. |
| static [CreateBlueUpArrow](../../aspose.note/notetag/createblueuparrow/)(string) | Erstellt ein neues Notiz-Tag mit BlueUpArrow-Symbol und angegebenem Label. |
| static [CreateBlueXNo](../../aspose.note/notetag/createbluexno/)(string) | Erstellt ein neues Notiz-Tag mit BlueXNo-Symbol und angegebenem Label. |
| static [CreateBlueXWithDots](../../aspose.note/notetag/createbluexwithdots/)(string) | Erstellt ein neues Notiz-Tag mit BlueXWithDots-Symbol und angegebenem Label. |
| static [CreateCalendarDateWithClock](../../aspose.note/notetag/createcalendardatewithclock/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „CalendarDateWithClock“ und der angegebenen Bezeichnung. |
| static [CreateCar](../../aspose.note/notetag/createcar/)(string) | Erstellt ein neues Notiz-Tag mit Auto-Symbol und angegebenem Label. |
| static [CreateClosedEnvelope](../../aspose.note/notetag/createclosedenvelope/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „Geschlossener Umschlag“ und dem angegebenen Label. |
| static [CreateCloud](../../aspose.note/notetag/createcloud/)(string) | Erstellt ein neues Notiz-Tag mit Wolkensymbol und angegebenem Label. |
| static [CreateCoinsWithWindowBackdrop](../../aspose.note/notetag/createcoinswithwindowbackdrop/)(string) | Erstellt ein neues Notiz-Tag mit CoinsWithWindowBackdrop-Symbol und angegebenem Label. |
| static [CreateCommentBubble](../../aspose.note/notetag/createcommentbubble/)(string) | Erstellt ein neues Notiz-Tag mit Kommentar-Bubble-Symbol und angegebenem Label. |
| static [CreateContactInformation](../../aspose.note/notetag/createcontactinformation/)(string) | Erstellt ein neues Notiz-Tag mit ContactInformation-Symbol und angegebenem Label. |
| static [CreateContactPersonOnCard](../../aspose.note/notetag/createcontactpersononcard/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol "ContactPersonOnCard" und dem angegebenen Label. |
| static [CreateDollarSign](../../aspose.note/notetag/createdollarsign/)(string) | Erstellt ein neues Notiz-Tag mit DollarSign-Symbol und angegebenem Label. |
| static [CreateEMailMessage](../../aspose.note/notetag/createemailmessage/)(string) | Erstellt ein neues Notiz-Tag mit EMailMessage-Symbol und angegebenem Label. |
| static [CreateFrowningFace](../../aspose.note/notetag/createfrowningface/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „FrowningFace“ und dem angegebenen Label. |
| static [CreateGlobe](../../aspose.note/notetag/createglobe/)(string) | Erstellt ein neues Notiz-Tag mit Globus-Symbol und angegebenem Label. |
| static [CreateGreenCheckMark](../../aspose.note/notetag/creategreencheckmark/)(string) | Erstellt ein neues Notiz-Tag mit grünem Häkchen-Symbol und angegebenem Label. |
| static [CreateGreenCircle](../../aspose.note/notetag/creategreencircle/)(string) | Erstellt ein neues Notiz-Tag mit GreenCircle-Symbol und angegebenem Label. |
| static [CreateGreenCircle1](../../aspose.note/notetag/creategreencircle1/)(string) | Erstellt ein neues Notiz-Tag mit dem GreenCircle1-Symbol und der angegebenen Bezeichnung. |
| static [CreateGreenCircle2](../../aspose.note/notetag/creategreencircle2/)(string) | Erstellt ein neues Notiz-Tag mit dem GreenCircle2-Symbol und der angegebenen Bezeichnung. |
| static [CreateGreenCircle3](../../aspose.note/notetag/creategreencircle3/)(string) | Erstellt ein neues Notiz-Tag mit GreenCircle3-Symbol und angegebenem Label. |
| static [CreateGreenDownArrow](../../aspose.note/notetag/creategreendownarrow/)(string) | Erstellt ein neues Notiz-Tag mit GreenDownArrow-Symbol und angegebenem Label. |
| static [CreateGreenEightPointStar](../../aspose.note/notetag/creategreeneightpointstar/)(string) | Erstellt ein neues Notiz-Tag mit GreenEightPointStern-Symbol und angegebenem Label. |
| static [CreateGreenLeftArrow](../../aspose.note/notetag/creategreenleftarrow/)(string) | Erstellt ein neues Notiz-Tag mit GreenLeftArrow-Symbol und angegebenem Label. |
| static [CreateGreenRightArrow](../../aspose.note/notetag/creategreenrightarrow/)(string) | Erstellt ein neues Notiz-Tag mit GreenRightArrow-Symbol und angegebener Beschriftung. |
| static [CreateGreenSolidArrow](../../aspose.note/notetag/creategreensolidarrow/)(string) | Erstellt ein neues Notiz-Tag mit GreenSolidArrow-Symbol und angegebener Beschriftung. |
| static [CreateGreenSquare](../../aspose.note/notetag/creategreensquare/)(string) | Erstellt ein neues Notiz-Tag mit GreenSquare-Symbol und angegebenem Label. |
| static [CreateGreenStar](../../aspose.note/notetag/creategreenstar/)(string) | Erstellt ein neues Notiz-Tag mit GreenStar-Symbol und angegebenem Label. |
| static [CreateGreenSun](../../aspose.note/notetag/creategreensun/)(string) | Erstellt ein neues Notiz-Tag mit GreenSun-Symbol und angegebenem Label. |
| static [CreateGreenTarget](../../aspose.note/notetag/creategreentarget/)(string) | Erstellt ein neues Notiz-Tag mit GreenTarget-Symbol und angegebenem Label. |
| static [CreateGreenTriangle](../../aspose.note/notetag/creategreentriangle/)(string) | Erstellt ein neues Notiz-Tag mit GreenTriangle-Symbol und angegebenem Label. |
| static [CreateGreenUmbrella](../../aspose.note/notetag/creategreenumbrella/)(string) | Erstellt ein neues Notiz-Tag mit GreenUmbrella-Symbol und angegebenem Label. |
| static [CreateGreenUpArrow](../../aspose.note/notetag/creategreenuparrow/)(string) | Erstellt ein neues Notiz-Tag mit GreenUpArrow-Symbol und angegebener Beschriftung. |
| static [CreateGreenXNo](../../aspose.note/notetag/creategreenxno/)(string) | Erstellt ein neues Notiz-Tag mit GreenXNo-Symbol und angegebenem Label. |
| static [CreateGreenXWithDots](../../aspose.note/notetag/creategreenxwithdots/)(string) | Erstellt ein neues Notiz-Tag mit GreenXWithDots-Symbol und angegebenem Label. |
| static [CreateHeart](../../aspose.note/notetag/createheart/)(string) | Erstellt ein neues Notiz-Tag mit Herzsymbol und angegebenem Label. |
| static [CreateHighPriority](../../aspose.note/notetag/createhighpriority/)(string) | Erstellt ein neues Notiz-Tag mit dem HighPriority-Symbol und dem angegebenen Label. |
| static [CreateHome](../../aspose.note/notetag/createhome/)(string) | Erstellt ein neues Notiz-Tag mit Home-Symbol und angegebenem Label. |
| static [CreateHyperlinkGlobe](../../aspose.note/notetag/createhyperlinkglobe/)(string) | Erstellt ein neues Notiz-Tag mit HyperlinkGlobe-Symbol und angegebenem Label. |
| static [CreateInstantMessagingContactPerson](../../aspose.note/notetag/createinstantmessagingcontactperson/)(string) | Erstellt ein neues Notiz-Tag mit InstantMessagingContactPerson-Symbol und angegebenem Label. |
| static [CreateLaptop](../../aspose.note/notetag/createlaptop/)(string) | Erstellt ein neues Notiz-Tag mit Laptop-Symbol und angegebenem Label. |
| static [CreateLightBulb](../../aspose.note/notetag/createlightbulb/)(string) | Erstellt ein neues Notiz-Tag mit Glühbirnensymbol und angegebenem Label. |
| static [CreateLightningBolt](../../aspose.note/notetag/createlightningbolt/)(string) | Erstellt ein neues Notiz-Tag mit LightningBolt-Symbol und angegebener Beschriftung. |
| static [CreateMeeting](../../aspose.note/notetag/createmeeting/)(string) | Erstellt ein neues Notiz-Tag mit Meeting-Symbol und angegebenem Label. |
| static [CreateMobilePhone](../../aspose.note/notetag/createmobilephone/)(string) | Erstellt ein neues Notiz-Tag mit Handy-Symbol und angegebenem Label. |
| static [CreateMovieClip](../../aspose.note/notetag/createmovieclip/)(string) | Erstellt ein neues Notiz-Tag mit MovieClip-Symbol und angegebenem Label. |
| static [CreateMusicalNote](../../aspose.note/notetag/createmusicalnote/)(string) | Erstellt ein neues Notiz-Tag mit MusicalNote-Symbol und angegebenem Label. |
| static [CreateNoIcon](../../aspose.note/notetag/createnoicon/)(string) | Erstellt ein neues Notiz-Tag ohne Symbol und mit angegebenem Label. |
| static [CreateNotebookWithClock](../../aspose.note/notetag/createnotebookwithclock/)(string) | Erstellt ein neues Notiz-Tag mit dem NotebookWithClock-Symbol und der angegebenen Bezeichnung. |
| static [CreateOpenBook](../../aspose.note/notetag/createopenbook/)(string) | Erstellt ein neues Notiz-Tag mit OpenBook-Symbol und angegebenem Label. |
| static [CreateOpenEnvelope](../../aspose.note/notetag/createopenenvelope/)(string) | Erstellt ein neues Notiz-Tag mit OpenEnvelope-Symbol und angegebenem Label. |
| static [CreateOrangeSquare](../../aspose.note/notetag/createorangesquare/)(string) | Erstellt ein neues Notiz-Tag mit orangefarbenem Quadrat und angegebenem Label. |
| static [CreatePadlock](../../aspose.note/notetag/createpadlock/)(string) | Erstellt ein neues Notiz-Tag mit Vorhängeschloss-Symbol und angegebenem Label. |
| static [CreatePaperClip](../../aspose.note/notetag/createpaperclip/)(string) | Erstellt ein neues Notiz-Tag mit dem Büroklammer-Symbol und der angegebenen Beschriftung. |
| static [CreatePen](../../aspose.note/notetag/createpen/)(string) | Erstellt ein neues Notiz-Tag mit Stiftsymbol und angegebener Beschriftung. |
| static [CreatePersonWithExclamationMark](../../aspose.note/notetag/createpersonwithexclamationmark/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol PersonWithExclamationMark und der angegebenen Bezeichnung. |
| static [CreatePinkSquare](../../aspose.note/notetag/createpinksquare/)(string) | Erstellt ein neues Notiz-Tag mit PinkSquare-Symbol und angegebenem Label. |
| static [CreatePlane](../../aspose.note/notetag/createplane/)(string) | Erstellt ein neues Notiz-Tag mit Flugzeugsymbol und angegebenem Label. |
| static [CreatePresentationSlide](../../aspose.note/notetag/createpresentationslide/)(string) | Erstellt ein neues Notiz-Tag mit PresentationSlide-Symbol und angegebenem Label. |
| static [CreatePushpin](../../aspose.note/notetag/createpushpin/)(string) | Erstellt ein neues Notiz-Tag mit Reißzweckensymbol und angegebenem Label. |
| static [CreateQuestionBalloon](../../aspose.note/notetag/createquestionballoon/)(string) | Erstellt ein neues Notiz-Tag mit QuestionBalloon-Symbol und angegebenem Label. |
| static [CreateQuestionMark](../../aspose.note/notetag/createquestionmark/)(string) | Erstellt ein neues Notiz-Tag mit QuestionMark-Symbol und angegebenem Label. |
| static [CreateQuotationMark](../../aspose.note/notetag/createquotationmark/)(string) | Erstellt ein neues Notiz-Tag mit QuotationMark-Symbol und angegebenem Label. |
| static [CreateRedSquare](../../aspose.note/notetag/createredsquare/)(string) | Erstellt ein neues Notiz-Tag mit RedSquare-Symbol und angegebenem Label. |
| static [CreateReminderBell](../../aspose.note/notetag/createreminderbell/)(string) | Erstellt ein neues Notiz-Tag mit ReminderBell-Symbol und angegebenem Label. |
| static [CreateResearch](../../aspose.note/notetag/createresearch/)(string) | Erstellt ein neues Notiz-Tag mit Recherche-Symbol und angegebenem Label. |
| static [CreateRoseOnStem](../../aspose.note/notetag/createroseonstem/)(string) | Erstellt ein neues Notiz-Tag mit RoseOnStem-Symbol und angegebenem Label. |
| static [CreateScheduledTask](../../aspose.note/notetag/createscheduledtask/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „ScheduledTask“ und der angegebenen Bezeichnung. |
| static [CreateSmilingFace](../../aspose.note/notetag/createsmilingface/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol „SmilingFace“ und dem angegebenen Label. |
| static [CreateSunflower](../../aspose.note/notetag/createsunflower/)(string) | Erstellt ein neues Notiz-Tag mit Sonnenblumen-Symbol und angegebenem Label. |
| static [CreateTelephoneWithClock](../../aspose.note/notetag/createtelephonewithclock/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol TelephoneWithClock und dem angegebenen Label. |
| static [CreateTimeSensitive](../../aspose.note/notetag/createtimesensitive/)(string) | Erstellt ein neues Notiz-Tag mit TimeSensitive-Symbol und angegebenem Label. |
| static [CreateTwoPeople](../../aspose.note/notetag/createtwopeople/)(string) | Erstellt ein neues Notiz-Tag mit dem TwoPeople-Symbol und der angegebenen Bezeichnung. |
| static [CreateYellowCheckMark](../../aspose.note/notetag/createyellowcheckmark/)(string) | Erstellt ein neues Notiz-Tag mit gelbem Häkchen-Symbol und angegebener Beschriftung. |
| static [CreateYellowCircle](../../aspose.note/notetag/createyellowcircle/)(string) | Erstellt ein neues Notiz-Tag mit YellowCircle-Symbol und angegebenem Label. |
| static [CreateYellowCircle1](../../aspose.note/notetag/createyellowcircle1/)(string) | Erstellt ein neues Notiz-Tag mit dem Symbol YellowCircle1 und der angegebenen Bezeichnung. |
| static [CreateYellowCircle2](../../aspose.note/notetag/createyellowcircle2/)(string) | Erstellt ein neues Notiz-Tag mit YellowCircle2-Symbol und angegebenem Label. |
| static [CreateYellowCircle3](../../aspose.note/notetag/createyellowcircle3/)(string) | Erstellt ein neues Notiz-Tag mit YellowCircle3-Symbol und angegebenem Label. |
| static [CreateYellowDownArrow](../../aspose.note/notetag/createyellowdownarrow/)(string) | Erstellt ein neues Notiz-Tag mit dem YellowDownArrow-Symbol und der angegebenen Beschriftung. |
| static [CreateYellowEightPointStar](../../aspose.note/notetag/createyelloweightpointstar/)(string) | Erstellt ein neues Notiz-Tag mit YellowEightPointStern-Symbol und angegebenem Label. |
| static [CreateYellowKey](../../aspose.note/notetag/createyellowkey/)(string) | Erstellt ein neues Notiz-Tag mit YellowKey-Symbol und angegebenem Label. |
| static [CreateYellowLeftArrow](../../aspose.note/notetag/createyellowleftarrow/)(string) | Erstellt ein neues Notiz-Tag mit dem YellowLeftArrow-Symbol und der angegebenen Beschriftung. |
| static [CreateYellowRightArrow](../../aspose.note/notetag/createyellowrightarrow/)(string) | Erstellt ein neues Notiz-Tag mit YellowRightArrow-Symbol und angegebenem Label. |
| static [CreateYellowSolidTarget](../../aspose.note/notetag/createyellowsolidtarget/)(string) | Erstellt ein neues Notiz-Tag mit YellowSolidTarget-Symbol und angegebenem Label. |
| static [CreateYellowSquare](../../aspose.note/notetag/createyellowsquare/)(string) | Erstellt ein neues Notiz-Tag mit YellowSquare-Symbol und angegebener Beschriftung. |
| static [CreateYellowStar](../../aspose.note/notetag/createyellowstar/)(string) | Erstellt ein neues Notiz-Tag mit YellowStar-Symbol und angegebenem Label. |
| static [CreateYellowSun](../../aspose.note/notetag/createyellowsun/)(string) | Erstellt ein neues Notiz-Tag mit YellowSun-Symbol und angegebenem Label. |
| static [CreateYellowTarget](../../aspose.note/notetag/createyellowtarget/)(string) | Erstellt ein neues Notiz-Tag mit YellowTarget-Symbol und angegebenem Label. |
| static [CreateYellowTriangle](../../aspose.note/notetag/createyellowtriangle/)(string) | Erstellt ein neues Notiz-Tag mit dem gelben Dreieck-Symbol und der angegebenen Beschriftung. |
| static [CreateYellowUmbrella](../../aspose.note/notetag/createyellowumbrella/)(string) | Erstellt ein neues Notiz-Tag mit YellowUmbrella-Symbol und angegebenem Label. |
| static [CreateYellowUpArrow](../../aspose.note/notetag/createyellowuparrow/)(string) | Erstellt ein neues Notiz-Tag mit YellowUpArrow-Symbol und angegebener Beschriftung. |
| static [CreateYellowX](../../aspose.note/notetag/createyellowx/)(string) | Erstellt ein neues Notiz-Tag mit gelbem X-Symbol und angegebenem Label. |
| static [CreateYellowXWithDots](../../aspose.note/notetag/createyellowxwithdots/)(string) | Erstellt ein neues Notiz-Tag mit dem YellowXWithDots-Symbol und der angegebenen Beschriftung. |
| [Equals](../../aspose.note/notetag/equals/#equals)(NoteTag) | Bestimmt, ob das angegebene Objekt gleich dem aktuellen Objekt ist. |
| override [Equals](../../aspose.note/notetag/equals/#equals_1)(object) | Bestimmt, ob das angegebene Objekt gleich dem aktuellen Objekt ist. |
| override [GetHashCode](../../aspose.note/notetag/gethashcode/)() | dient als Hash-Funktion für den Typ. |

### Beispiele

Zeigt, wie man ein neues Bild mit Tag hinzufügt.

```csharp
// Der Pfad zum Dokumentenverzeichnis.
string dataDir = RunExamples.GetDataDir_Tags();

// Erstellen Sie ein Objekt der Document-Klasse
Document doc = new Document();

// Seitenklassenobjekt initialisieren
Aspose.Note.Page page = new Aspose.Note.Page(doc);

// Outline-Klassenobjekt initialisieren
Outline outline = new Outline(doc);

// OutlineElement-Klassenobjekt initialisieren
OutlineElement outlineElem = new OutlineElement(doc);

// Laden Sie ein Bild
Aspose.Note.Image image = new Aspose.Note.Image(doc, dataDir + "icon.jpg");

// Bild in den Dokumentknoten einfügen
outlineElem.AppendChildLast(image);
image.Tags.Add(NoteTag.CreateYellowStar());

// Gliederungselementknoten hinzufügen
outline.AppendChildLast(outlineElem);

// Gliederungsknoten hinzufügen
page.AppendChildLast(outline);

// Seitenknoten hinzufügen
doc.AppendChildLast(page);

// OneNote-Dokument speichern
dataDir = dataDir + "AddImageNodeWithTag_out.one";
doc.Save(dataDir);
```

Zeigt, wie man einen neuen Absatz mit Tag hinzufügt.

```csharp
// Der Pfad zum Dokumentenverzeichnis.
string dataDir = RunExamples.GetDataDir_Tags();

// Erstellen Sie ein Objekt der Document-Klasse
Document doc = new Document();

// Seitenklassenobjekt initialisieren
Aspose.Note.Page page = new Aspose.Note.Page(doc);

// Outline-Klassenobjekt initialisieren
Outline outline = new Outline(doc);

// OutlineElement-Klassenobjekt initialisieren
OutlineElement outlineElem = new OutlineElement(doc);
ParagraphStyle textStyle = new ParagraphStyle { FontColor = Color.Black, FontName = "Arial", FontSize = 10 };
RichText text = new RichText(doc) { Text = "OneNote text.", ParagraphStyle = textStyle };
text.Tags.Add(NoteTag.CreateYellowStar());

// Textknoten hinzufügen
outlineElem.AppendChildLast(text);

// Gliederungselementknoten hinzufügen
outline.AppendChildLast(outlineElem);

// Gliederungsknoten hinzufügen
page.AppendChildLast(outline);

// Seitenknoten hinzufügen
doc.AppendChildLast(page);

// OneNote-Dokument speichern
dataDir = dataDir + "AddTextNodeWithTag_out.one";
doc.Save(dataDir);
```

Zeigt, wie auf die Details eines Tags zugegriffen wird.

```csharp
// Der Pfad zum Dokumentenverzeichnis.
string dataDir = RunExamples.GetDataDir_Tags();

// Laden Sie das Dokument in Aspose.Note.
Document oneFile = new Document(dataDir + "TagFile.one");

// Alle RichText-Knoten abrufen
IList<RichText> nodes = oneFile.GetChildNodes<RichText>();

// Durch jeden Knoten iterieren
foreach (RichText richText in nodes)
{
    var tags = richText.Tags.OfType<NoteTag>();
    if (tags.Any())
    {
        Console.WriteLine($"Text: {richText.Text}");
        foreach (var noteTag in tags)
        {
            // Eigenschaften abrufen
            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}");
        }
    }
}
```

Zeigt, wie man eine neue Tabelle mit Tag hinzufügt.

```csharp
// Der Pfad zum Dokumentenverzeichnis.
string dataDir = RunExamples.GetDataDir_Tags();

// Erstellen Sie ein Objekt der Document-Klasse
Document doc = new Document();

// Seitenklassenobjekt initialisieren
Aspose.Note.Page page = new Aspose.Note.Page(doc);

// TableRow-Klassenobjekt initialisieren
TableRow row = new TableRow(doc);

// TableCell-Klassenobjekt initialisieren
TableCell cell = new TableCell(doc);

// Zellinhalt einfügen
cell.AppendChildLast(InsertTable.GetOutlineElementWithText(doc, "Single cell."));

// Zelle zum Zeilenknoten hinzufügen
row.AppendChildLast(cell);

// Tabellenknoten initialisieren
Table table = new Table(doc)
              {
                  IsBordersVisible = true,
                  Columns = { new TableColumn { Width = 70 } }
              };

// Zeilenknoten in Tabelle einfügen
table.AppendChildLast(row);

// Tag zu diesem Tabellenknoten hinzufügen
table.Tags.Add(NoteTag.CreateQuestionMark());

Outline outline = new Outline(doc);
OutlineElement outlineElem = new OutlineElement(doc);

// Tabellenknoten hinzufügen
outlineElem.AppendChildLast(table);

// Gliederungselemente hinzufügen
outline.AppendChildLast(outlineElem);
page.AppendChildLast(outline);
doc.AppendChildLast(page);

// OneNote-Dokument speichern
dataDir = dataDir + "AddTableNodeWithTag_out.one";
doc.Save(dataDir);
```

Zeigt, wie eine Vorlage für ein wöchentliches Meeting vorbereitet wird.

```csharp
// Der Pfad zum Dokumentenverzeichnis.
string dataDir = RunExamples.GetDataDir_Tags();

// Erstellen Sie ein Objekt der Document-Klasse
var headerStyle = new ParagraphStyle() { FontName = "Calibri", FontSize = 16 };
var bodyStyle = new ParagraphStyle() { FontName = "Calibri", FontSize = 12 };

var d = new Document();
bool restartFlag = true;
var outline = d.AppendChildLast(new Page()
                                    {
                                        Title = new Title() { TitleText = new RichText() { Text = $"Weekly meeting {DateTime.Today:d}", ParagraphStyle = ParagraphStyle.Default } }
                                    })
               .AppendChildLast(new Outline() { VerticalOffset = 30, HorizontalOffset = 30 });

outline.AppendChildLast(new OutlineElement())
       .AppendChildLast(new RichText() { Text = "Important", ParagraphStyle = headerStyle });
foreach (var e in new[] { "First", "Second", "Third" })
{
    outline.AppendChildLast(new OutlineElement() { NumberList = CreateListNumberingStyle(bodyStyle, restartFlag) })
           .AppendChildLast(new RichText() { Text = e, ParagraphStyle = bodyStyle });
    restartFlag = false;
}

outline.AppendChildLast(new OutlineElement())
       .AppendChildLast(new RichText() { Text = "TO DO", ParagraphStyle = headerStyle, SpaceBefore = 15 });
restartFlag = true;
foreach (var e in new[] { "First", "Second", "Third" })
{
    outline.AppendChildLast(new OutlineElement() { NumberList = CreateListNumberingStyle(bodyStyle, restartFlag) })
           .AppendChildLast(new RichText() { Text = e, ParagraphStyle = bodyStyle, Tags = { NoteCheckBox.CreateBlueCheckBox() } });
    restartFlag = false;
}

d.Save(Path.Combine(dataDir, "meetingNotes.one"));
```

### Siehe auch

* interface [INoteTag](../inotetag/)
* namensraum [Aspose.Note](../../aspose.note/)
* Montage [Aspose.Note](../../)


