CaptionlessTableOfFiguresLabel

FieldToc.CaptionlessTableOfFiguresLabel property

يحصل على اسم معرف التسلسل المستخدم عند إنشاء جدول الأشكال الذي لا يتضمن تسمية ورقم التسمية التوضيحية أو يعينه.

public string CaptionlessTableOfFiguresLabel { get; set; }

أمثلة

يوضح كيفية تعيين اسم معرف التسلسل.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

FieldToc fieldToc = (FieldToc)builder.InsertField(FieldType.FieldTOC, true);
fieldToc.CaptionlessTableOfFiguresLabel = "Test";

Assert.AreEqual(" TOC  \\a Test", fieldToc.GetFieldCode());

أنظر أيضا