Class Outline
ชื่อพื้นที่: Aspose.Note การประกอบ: Aspose.Note.dll (25.4.0)
แสดง Outline
public sealed class Outline : IndentatedNode<iOutlineChildNode>, ICompositeNode<iOutlineChildNode>, ICompositeNode, IEnumerable<iOutlineChildNode>, IEnumerable, IIndentatedNode, IPageChildNode, INode
{
}
Inheritance
object
←
Node
←
CompositeNodeBase
←
CompositeNode
Implements
ICompositeNode
อนุญาโตตุลาการ
IndentatedNode
Examples
แสดงวิธีเพิ่มภาพใหม่ด้วยแท็ก
string dataDir = RunExamples.GetDataDir_Tags();
Document doc = new Document();
Aspose.Note.Page page = new Aspose.Note.Page(doc);
Outline outline = new Outline(doc);
OutlineElement outlineElem = new OutlineElement(doc);
Aspose.Note.Image image = new Aspose.Note.Image(doc, dataDir + "icon.jpg");
outlineElem.AppendChildLast(image);
image.Tags.Add(NoteTag.CreateYellowStar());
outline.AppendChildLast(outlineElem);
page.AppendChildLast(outline);
doc.AppendChildLast(page);
dataDir = dataDir + "AddImageNodeWithTag_out.one";
doc.Save(dataDir);
แสดงวิธีที่จะใส่รายการใหม่ด้วยคํานวณจีน
string dataDir = RunExamples.GetDataDir_Text();
Aspose.Note.Document doc = new Aspose.Note.Document();
Aspose.Note.Page page = new Aspose.Note.Page(doc);
Outline outline = new Outline(doc);
ParagraphStyle defaultStyle = new ParagraphStyle { FontColor = Color.Black, FontName = "Arial", FontSize = 10 };
OutlineElement outlineElem1 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.ChineseCounting, "Arial", 10) };
RichText text1 = new RichText(doc) { Text = "First", ParagraphStyle = defaultStyle };
outlineElem1.AppendChildLast(text1);
OutlineElement outlineElem2 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.ChineseCounting, "Arial", 10) };
RichText text2 = new RichText(doc) { Text = "Second", ParagraphStyle = defaultStyle };
outlineElem2.AppendChildLast(text2);
OutlineElement outlineElem3 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.ChineseCounting, "Arial", 10) };
RichText text3 = new RichText(doc) { Text = "Third", ParagraphStyle = defaultStyle };
outlineElem3.AppendChildLast(text3);
outline.AppendChildLast(outlineElem1);
outline.AppendChildLast(outlineElem2);
outline.AppendChildLast(outlineElem3);
page.AppendChildLast(outline);
doc.AppendChildLast(page);
dataDir = dataDir + "InsertChineseNumberList_out.one";
doc.Save(dataDir);
แสดงให้เห็นวิธีการใส่ lis บลเล็ตใหม่
string dataDir = RunExamples.GetDataDir_Text();
Aspose.Note.Document doc = new Aspose.Note.Document();
Aspose.Note.Page page = new Aspose.Note.Page(doc);
Outline outline = new Outline(doc);
ParagraphStyle defaultStyle = new ParagraphStyle { FontColor = Color.Black, FontName = "Arial", FontSize = 10 };
OutlineElement outlineElem1 = new OutlineElement(doc) { NumberList = new NumberList("*", "Arial", 10) };
RichText text1 = new RichText(doc) { Text = "First", ParagraphStyle = defaultStyle };
outlineElem1.AppendChildLast(text1);
OutlineElement outlineElem2 = new OutlineElement(doc) { NumberList = new NumberList("*", "Arial", 10) };
RichText text2 = new RichText(doc) { Text = "Second", ParagraphStyle = defaultStyle };
outlineElem2.AppendChildLast(text2);
OutlineElement outlineElem3 = new OutlineElement(doc) { NumberList = new NumberList("*", "Arial", 10) };
RichText text3 = new RichText(doc) { Text = "Third", ParagraphStyle = defaultStyle };
outlineElem3.AppendChildLast(text3);
outline.AppendChildLast(outlineElem1);
outline.AppendChildLast(outlineElem2);
outline.AppendChildLast(outlineElem3);
page.AppendChildLast(outline);
doc.AppendChildLast(page);
dataDir = dataDir + "ApplyBulletsOnText_out.one";
doc.Save(dataDir);
แสดงวิธีการใส่รายการใหม่ด้วยการหมายเลข
string dataDir = RunExamples.GetDataDir_Text();
Document doc = new Document();
Aspose.Note.Page page = new Aspose.Note.Page(doc);
Outline outline = new Outline(doc);
ParagraphStyle defaultStyle = new ParagraphStyle { FontColor = Color.Black, FontName = "Arial", FontSize = 10 };
OutlineElement outlineElem1 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.DecimalNumbers, "Arial", 10) };
RichText text1 = new RichText(doc) { Text = "First", ParagraphStyle = defaultStyle };
outlineElem1.AppendChildLast(text1);
OutlineElement outlineElem2 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.DecimalNumbers, "Arial", 10) };
RichText text2 = new RichText(doc) { Text = "Second", ParagraphStyle = defaultStyle };
outlineElem2.AppendChildLast(text2);
OutlineElement outlineElem3 = new OutlineElement(doc) { NumberList = new NumberList("{0})", NumberFormat.DecimalNumbers, "Arial", 10) };
RichText text3 = new RichText(doc) { Text = "Third", ParagraphStyle = defaultStyle };
outlineElem3.AppendChildLast(text3);
outline.AppendChildLast(outlineElem1);
outline.AppendChildLast(outlineElem2);
outline.AppendChildLast(outlineElem3);
page.AppendChildLast(outline);
doc.AppendChildLast(page);
dataDir = dataDir + "ApplyNumberingOnText_out.one";
doc.Save(dataDir);
Constructors
อะไหล่ ( )
public Outline()
{
}
Properties
DescendantsCannotBeMoved
ได้รับการรับรู้ว่าลูกศรของทางออกสามารถย้ายได้หรือไม่
public bool DescendantsCannotBeMoved
{
get;
set;
}
คุณสมบัติมูลค่า
HorizontalOffset
รับหรือวางค่าธรรมเนียมแนวนอน
public float HorizontalOffset
{
get;
set;
}
คุณสมบัติมูลค่า
LastModifiedTime
ได้รับหรือตั้งค่าเวลาที่เปลี่ยนแปลงล่าสุด
public DateTime LastModifiedTime
{
get;
set;
}
คุณสมบัติมูลค่า
MaxHeight
รับหรือตั้งค่าความสูงสูงสุด
public float MaxHeight
{
get;
set;
}
คุณสมบัติมูลค่า
MaxWidth
รับหรือตั้งค่าความกว้างสูงสุด
public float MaxWidth
{
get;
set;
}
คุณสมบัติมูลค่า
MinWidth
รับหรือตั้งค่าความกว้างของฉัน
public float MinWidth
{
get;
set;
}
คุณสมบัติมูลค่า
ReservedWidth
รับหรือตั้งค่าความกว้างที่จัดเก็บไว้
public float ReservedWidth
{
get;
set;
}
คุณสมบัติมูลค่า
VerticalOffset
รับหรือวางค่าธรรมเนียมแนวตั้ง
public float VerticalOffset
{
get;
set;
}
คุณสมบัติมูลค่า
Methods
ได้รับการยอมรับ (DocumentVisitor)
ยินดีต้อนรับผู้เข้าชมของ node
public override void Accept(Aspose.Words.DocumentVisitor visitor)
{
}
Parameters
visitor
DocumentVisitor
วัตถุของชั้นที่มาจาก Aspose.Note.DocumentVisitor