Class NoteTag
Namespace: Aspose.Note
Assembly: Aspose.Note.dll (24.12.0)
Represents a note tag.
public sealed class NoteTag : INoteTag, ITag, IEquatable<notetag>
Inheritance
Implements
INoteTag, ITag, IEquatable<notetag>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
Shows how to add new image with tag.```csharp // The path to the documents directory. string dataDir = RunExamples.GetDataDir_Tags();
// Create an object of the Document class
Document doc = new Document();
// Initialize Page class object
Aspose.Note.Page page = new Aspose.Note.Page(doc);
// Initialize Outline class object
Outline outline = new Outline(doc);
// Initialize OutlineElement class object
OutlineElement outlineElem = new OutlineElement(doc);
// Load an image
Aspose.Note.Image image = new Aspose.Note.Image(doc, dataDir + "icon.jpg");
// Insert image in the document node
outlineElem.AppendChildLast(image);
image.Tags.Add(NoteTag.CreateYellowStar());
// Add outline element node
outline.AppendChildLast(outlineElem);
// Add outline node
page.AppendChildLast(outline);
// Add page node
doc.AppendChildLast(page);
// Save OneNote document
dataDir = dataDir + "AddImageNodeWithTag_out.one";
doc.Save(dataDir);
Shows how to add new paragraph with tag.```csharp
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Tags();
// Create an object of the Document class
Document doc = new Document();
// Initialize Page class object
Aspose.Note.Page page = new Aspose.Note.Page(doc);
// Initialize Outline class object
Outline outline = new Outline(doc);
// Initialize OutlineElement class object
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());
// Add text node
outlineElem.AppendChildLast(text);
// Add outline element node
outline.AppendChildLast(outlineElem);
// Add outline node
page.AppendChildLast(outline);
// Add page node
doc.AppendChildLast(page);
// Save OneNote document
dataDir = dataDir + "AddTextNodeWithTag_out.one";
doc.Save(dataDir);
Shows how to access details of a tag.```csharp // The path to the documents directory. string dataDir = RunExamples.GetDataDir_Tags();
// Load the document into Aspose.Note.
Document oneFile = new Document(dataDir + "TagFile.one");
// Get all RichText nodes
IList<richtext> nodes = oneFile.GetChildNodes<richtext>();
// Iterate through each node
foreach (RichText richText in nodes)
{
var tags = richText.Tags.OfType<notetag>();
if (tags.Any())
{
Console.WriteLine($"Text: {richText.Text}");
foreach (var noteTag in tags)
{
// Retrieve properties
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}");
}
}
}</notetag></richtext></richtext>
Shows how to add new table with tag.```csharp
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Tags();
// Create an object of the Document class
Document doc = new Document();
// Initialize Page class object
Aspose.Note.Page page = new Aspose.Note.Page(doc);
// Initialize TableRow class object
TableRow row = new TableRow(doc);
// Initialize TableCell class object
TableCell cell = new TableCell(doc);
// Insert cell content
cell.AppendChildLast(InsertTable.GetOutlineElementWithText(doc, "Single cell."));
// Add cell to row node
row.AppendChildLast(cell);
// Initialize table node
Table table = new Table(doc)
{
IsBordersVisible = true,
Columns = { new TableColumn { Width = 70 } }
};
// Insert row node in table
table.AppendChildLast(row);
// Add tag to this table node
table.Tags.Add(NoteTag.CreateQuestionMark());
Outline outline = new Outline(doc);
OutlineElement outlineElem = new OutlineElement(doc);
// Add table node
outlineElem.AppendChildLast(table);
// Add outline elements
outline.AppendChildLast(outlineElem);
page.AppendChildLast(outline);
doc.AppendChildLast(page);
// Save OneNote document
dataDir = dataDir + "AddTableNodeWithTag_out.one";
doc.Save(dataDir);
Shows how to prepare a template for weekly meeting.```csharp // The path to the documents directory. string dataDir = RunExamples.GetDataDir_Tags();
// Create an object of the Document class
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"));
## Properties
### <a id="Aspose_Note_NoteTag_CompletedTime"></a> CompletedTime
Gets or sets the completed time.
```csharp
public DateTime? CompletedTime { get; }
Property Value
CreationTime
Gets or sets the creation time.
public DateTime CreationTime { get; set; }
Property Value
FontColor
Gets or sets the font color.
public Color FontColor { get; set; }
Property Value
Highlight
Gets or sets the highlight color.
public Color Highlight { get; set; }
Property Value
Icon
Gets or sets the icon.
public TagIcon Icon { get; set; }
Property Value
Label
Gets or sets the label text.
public string Label { get; set; }
Property Value
Status
Gets or sets the status.
public TagStatus Status { get; }
Property Value
Methods
CreateAwardRibbon(string)
Creates a new note tag with AwardRibbon icon and specified label.
public static NoteTag CreateAwardRibbon(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBinoculars(string)
Creates a new note tag with Binoculars icon and specified label.
public static NoteTag CreateBinoculars(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlankPaperWithLines(string)
Creates a new note tag with BlankPaperWithLines icon and specified label.
public static NoteTag CreateBlankPaperWithLines(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueCheckMark(string)
Creates a new note tag with BlueCheckMark icon and specified label.
public static NoteTag CreateBlueCheckMark(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueCircle(string)
Creates a new note tag with BlueCircle icon and specified label.
public static NoteTag CreateBlueCircle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueCircle1(string)
Creates a new note tag with BlueCircle1 icon and specified label.
public static NoteTag CreateBlueCircle1(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueCircle2(string)
Creates a new note tag with BlueCircle2 icon and specified label.
public static NoteTag CreateBlueCircle2(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueCircle3(string)
Creates a new note tag with BlueCircle3 icon and specified label.
public static NoteTag CreateBlueCircle3(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueDownArrow(string)
Creates a new note tag with BlueDownArrow icon and specified label.
public static NoteTag CreateBlueDownArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueEightPointStar(string)
Creates a new note tag with BlueEightPointStar icon and specified label.
public static NoteTag CreateBlueEightPointStar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueFollowUpFlag(string)
Creates a new note tag with BlueFollowUpFlag icon and specified label.
public static NoteTag CreateBlueFollowUpFlag(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueLeftArrow(string)
Creates a new note tag with BlueLeftArrow icon and specified label.
public static NoteTag CreateBlueLeftArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueRightArrow(string)
Creates a new note tag with BlueRightArrow icon and specified label.
public static NoteTag CreateBlueRightArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueSolidTarget(string)
Creates a new note tag with BlueSolidTarget icon and specified label.
public static NoteTag CreateBlueSolidTarget(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueSquare(string)
Creates a new note tag with BlueSquare icon and specified label.
public static NoteTag CreateBlueSquare(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueStar(string)
Creates a new note tag with BlueStar icon and specified label.
public static NoteTag CreateBlueStar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueSun(string)
Creates a new note tag with BlueSun icon and specified label.
public static NoteTag CreateBlueSun(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueTarget(string)
Creates a new note tag with BlueTarget icon and specified label.
public static NoteTag CreateBlueTarget(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueTriangle(string)
Creates a new note tag with BlueTriangle icon and specified label.
public static NoteTag CreateBlueTriangle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueUmbrella(string)
Creates a new note tag with BlueUmbrella icon and specified label.
public static NoteTag CreateBlueUmbrella(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueUpArrow(string)
Creates a new note tag with BlueUpArrow icon and specified label.
public static NoteTag CreateBlueUpArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueXNo(string)
Creates a new note tag with BlueXNo icon and specified label.
public static NoteTag CreateBlueXNo(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateBlueXWithDots(string)
Creates a new note tag with BlueXWithDots icon and specified label.
public static NoteTag CreateBlueXWithDots(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateCalendarDateWithClock(string)
Creates a new note tag with CalendarDateWithClock icon and specified label.
public static NoteTag CreateCalendarDateWithClock(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateCar(string)
Creates a new note tag with Car icon and specified label.
public static NoteTag CreateCar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateClosedEnvelope(string)
Creates a new note tag with ClosedEnvelope icon and specified label.
public static NoteTag CreateClosedEnvelope(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateCloud(string)
Creates a new note tag with Cloud icon and specified label.
public static NoteTag CreateCloud(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateCoinsWithWindowBackdrop(string)
Creates a new note tag with CoinsWithWindowBackdrop icon and specified label.
public static NoteTag CreateCoinsWithWindowBackdrop(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateCommentBubble(string)
Creates a new note tag with CommentBubble icon and specified label.
public static NoteTag CreateCommentBubble(string label = "Remember for blog")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateContactInformation(string)
Creates a new note tag with ContactInformation icon and specified label.
public static NoteTag CreateContactInformation(string label = "Phone number")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateContactPersonOnCard(string)
Creates a new note tag with ContactPersonOnCard icon and specified label.
public static NoteTag CreateContactPersonOnCard(string label = "Contact")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateDollarSign(string)
Creates a new note tag with DollarSign icon and specified label.
public static NoteTag CreateDollarSign(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateEMailMessage(string)
Creates a new note tag with EMailMessage icon and specified label.
public static NoteTag CreateEMailMessage(string label = "Send in email")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateFrowningFace(string)
Creates a new note tag with FrowningFace icon and specified label.
public static NoteTag CreateFrowningFace(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGlobe(string)
Creates a new note tag with Globe icon and specified label.
public static NoteTag CreateGlobe(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenCheckMark(string)
Creates a new note tag with GreenCheckMark icon and specified label.
public static NoteTag CreateGreenCheckMark(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenCircle(string)
Creates a new note tag with GreenCircle icon and specified label.
public static NoteTag CreateGreenCircle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenCircle1(string)
Creates a new note tag with GreenCircle1 icon and specified label.
public static NoteTag CreateGreenCircle1(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenCircle2(string)
Creates a new note tag with GreenCircle2 icon and specified label.
public static NoteTag CreateGreenCircle2(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenCircle3(string)
Creates a new note tag with GreenCircle3 icon and specified label.
public static NoteTag CreateGreenCircle3(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenDownArrow(string)
Creates a new note tag with GreenDownArrow icon and specified label.
public static NoteTag CreateGreenDownArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenEightPointStar(string)
Creates a new note tag with GreenEightPointStar icon and specified label.
public static NoteTag CreateGreenEightPointStar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenLeftArrow(string)
Creates a new note tag with GreenLeftArrow icon and specified label.
public static NoteTag CreateGreenLeftArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenRightArrow(string)
Creates a new note tag with GreenRightArrow icon and specified label.
public static NoteTag CreateGreenRightArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenSolidArrow(string)
Creates a new note tag with GreenSolidArrow icon and specified label.
public static NoteTag CreateGreenSolidArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenSquare(string)
Creates a new note tag with GreenSquare icon and specified label.
public static NoteTag CreateGreenSquare(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenStar(string)
Creates a new note tag with GreenStar icon and specified label.
public static NoteTag CreateGreenStar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenSun(string)
Creates a new note tag with GreenSun icon and specified label.
public static NoteTag CreateGreenSun(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenTarget(string)
Creates a new note tag with GreenTarget icon and specified label.
public static NoteTag CreateGreenTarget(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenTriangle(string)
Creates a new note tag with GreenTriangle icon and specified label.
public static NoteTag CreateGreenTriangle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenUmbrella(string)
Creates a new note tag with GreenUmbrella icon and specified label.
public static NoteTag CreateGreenUmbrella(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenUpArrow(string)
Creates a new note tag with GreenUpArrow icon and specified label.
public static NoteTag CreateGreenUpArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenXNo(string)
Creates a new note tag with GreenXNo icon and specified label.
public static NoteTag CreateGreenXNo(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateGreenXWithDots(string)
Creates a new note tag with GreenXWithDots icon and specified label.
public static NoteTag CreateGreenXWithDots(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateHeart(string)
Creates a new note tag with Heart icon and specified label.
public static NoteTag CreateHeart(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateHighPriority(string)
Creates a new note tag with HighPriority icon and specified label.
public static NoteTag CreateHighPriority(string label = "Critical")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateHome(string)
Creates a new note tag with Home icon and specified label.
public static NoteTag CreateHome(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateHyperlinkGlobe(string)
Creates a new note tag with HyperlinkGlobe icon and specified label.
public static NoteTag CreateHyperlinkGlobe(string label = "Web site to visit")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateInstantMessagingContactPerson(string)
Creates a new note tag with InstantMessagingContactPerson icon and specified label.
public static NoteTag CreateInstantMessagingContactPerson(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateLaptop(string)
Creates a new note tag with Laptop icon and specified label.
public static NoteTag CreateLaptop(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateLightBulb(string)
Creates a new note tag with LightBulb icon and specified label.
public static NoteTag CreateLightBulb(string label = "Idea")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateLightningBolt(string)
Creates a new note tag with LightningBolt icon and specified label.
public static NoteTag CreateLightningBolt(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateMeeting(string)
Creates a new note tag with Meeting icon and specified label.
public static NoteTag CreateMeeting(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateMobilePhone(string)
Creates a new note tag with MobilePhone icon and specified label.
public static NoteTag CreateMobilePhone(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateMovieClip(string)
Creates a new note tag with MovieClip icon and specified label.
public static NoteTag CreateMovieClip(string label = "Movie to see")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateMusicalNote(string)
Creates a new note tag with MusicalNote icon and specified label.
public static NoteTag CreateMusicalNote(string label = "Music to listen to")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateNoIcon(string)
Creates a new note tag without icon and with specified label.
public static NoteTag CreateNoIcon(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateNotebookWithClock(string)
Creates a new note tag with NotebookWithClock icon and specified label.
public static NoteTag CreateNotebookWithClock(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateOpenBook(string)
Creates a new note tag with OpenBook icon and specified label.
public static NoteTag CreateOpenBook(string label = "Book to read")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateOpenEnvelope(string)
Creates a new note tag with OpenEnvelope icon and specified label.
public static NoteTag CreateOpenEnvelope(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateOrangeSquare(string)
Creates a new note tag with OrangeSquare icon and specified label.
public static NoteTag CreateOrangeSquare(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePadlock(string)
Creates a new note tag with Padlock icon and specified label.
public static NoteTag CreatePadlock(string label = "Password")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePaperClip(string)
Creates a new note tag with PaperClip icon and specified label.
public static NoteTag CreatePaperClip(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePen(string)
Creates a new note tag with Pen icon and specified label.
public static NoteTag CreatePen(string label = "Highlight")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePersonWithExclamationMark(string)
Creates a new note tag with PersonWithExclamationMark icon and specified label.
public static NoteTag CreatePersonWithExclamationMark(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePinkSquare(string)
Creates a new note tag with PinkSquare icon and specified label.
public static NoteTag CreatePinkSquare(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePlane(string)
Creates a new note tag with Plane icon and specified label.
public static NoteTag CreatePlane(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePresentationSlide(string)
Creates a new note tag with PresentationSlide icon and specified label.
public static NoteTag CreatePresentationSlide(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreatePushpin(string)
Creates a new note tag with Pushpin icon and specified label.
public static NoteTag CreatePushpin(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateQuestionBalloon(string)
Creates a new note tag with QuestionBalloon icon and specified label.
public static NoteTag CreateQuestionBalloon(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateQuestionMark(string)
Creates a new note tag with QuestionMark icon and specified label.
public static NoteTag CreateQuestionMark(string label = "Question")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateQuotationMark(string)
Creates a new note tag with QuotationMark icon and specified label.
public static NoteTag CreateQuotationMark(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateRedSquare(string)
Creates a new note tag with RedSquare icon and specified label.
public static NoteTag CreateRedSquare(string label = "Project A")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateReminderBell(string)
Creates a new note tag with ReminderBell icon and specified label.
public static NoteTag CreateReminderBell(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateResearch(string)
Creates a new note tag with Research icon and specified label.
public static NoteTag CreateResearch(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateRoseOnStem(string)
Creates a new note tag with RoseOnStem icon and specified label.
public static NoteTag CreateRoseOnStem(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateScheduledTask(string)
Creates a new note tag with ScheduledTask icon and specified label.
public static NoteTag CreateScheduledTask(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateSmilingFace(string)
Creates a new note tag with SmilingFace icon and specified label.
public static NoteTag CreateSmilingFace(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateSunflower(string)
Creates a new note tag with Sunflower icon and specified label.
public static NoteTag CreateSunflower(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateTelephoneWithClock(string)
Creates a new note tag with TelephoneWithClock icon and specified label.
public static NoteTag CreateTelephoneWithClock(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateTimeSensitive(string)
Creates a new note tag with TimeSensitive icon and specified label.
public static NoteTag CreateTimeSensitive(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateTwoPeople(string)
Creates a new note tag with TwoPeople icon and specified label.
public static NoteTag CreateTwoPeople(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowCheckMark(string)
Creates a new note tag with YellowCheckMark icon and specified label.
public static NoteTag CreateYellowCheckMark(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowCircle(string)
Creates a new note tag with YellowCircle icon and specified label.
public static NoteTag CreateYellowCircle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowCircle1(string)
Creates a new note tag with YellowCircle1 icon and specified label.
public static NoteTag CreateYellowCircle1(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowCircle2(string)
Creates a new note tag with YellowCircle2 icon and specified label.
public static NoteTag CreateYellowCircle2(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowCircle3(string)
Creates a new note tag with YellowCircle3 icon and specified label.
public static NoteTag CreateYellowCircle3(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowDownArrow(string)
Creates a new note tag with YellowDownArrow icon and specified label.
public static NoteTag CreateYellowDownArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowEightPointStar(string)
Creates a new note tag with YellowEightPointStar icon and specified label.
public static NoteTag CreateYellowEightPointStar(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowKey(string)
Creates a new note tag with YellowKey icon and specified label.
public static NoteTag CreateYellowKey(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowLeftArrow(string)
Creates a new note tag with YellowLeftArrow icon and specified label.
public static NoteTag CreateYellowLeftArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowRightArrow(string)
Creates a new note tag with YellowRightArrow icon and specified label.
public static NoteTag CreateYellowRightArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowSolidTarget(string)
Creates a new note tag with YellowSolidTarget icon and specified label.
public static NoteTag CreateYellowSolidTarget(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowSquare(string)
Creates a new note tag with YellowSquare icon and specified label.
public static NoteTag CreateYellowSquare(string label = "Project B")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowStar(string)
Creates a new note tag with YellowStar icon and specified label.
public static NoteTag CreateYellowStar(string label = "Important")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowSun(string)
Creates a new note tag with YellowSun icon and specified label.
public static NoteTag CreateYellowSun(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowTarget(string)
Creates a new note tag with YellowTarget icon and specified label.
public static NoteTag CreateYellowTarget(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowTriangle(string)
Creates a new note tag with YellowTriangle icon and specified label.
public static NoteTag CreateYellowTriangle(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowUmbrella(string)
Creates a new note tag with YellowUmbrella icon and specified label.
public static NoteTag CreateYellowUmbrella(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowUpArrow(string)
Creates a new note tag with YellowUpArrow icon and specified label.
public static NoteTag CreateYellowUpArrow(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowX(string)
Creates a new note tag with YellowX icon and specified label.
public static NoteTag CreateYellowX(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
CreateYellowXWithDots(string)
Creates a new note tag with YellowXWithDots icon and specified label.
public static NoteTag CreateYellowXWithDots(string label = "")
Parameters
label
string
The tag’s label.
Returns
The Aspose.Note.NoteTag.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
object
The object.
Returns
The System.Boolean.
Equals(NoteTag)
Determines whether the specified object is equal to the current object.
public bool Equals(NoteTag other)
Parameters
other
NoteTag
The object.
Returns
The System.Boolean.
GetHashCode()
Serves as a hash function for the type.
public override int GetHashCode()
Returns
The System.Int32. </notetag>