Search Results for

    Show / Hide Table of Contents

    Class ListLevel

    Inheritance
    System.Object
    ContentElement
    ListLevel
    Implements
    ICloneableElement
    IContentElement
    Inherited Members
    ContentElement._Index
    ContentElement.Replace(IContentElement)
    ContentElement.Remove()
    ContentElement.GetIndex()
    ContentElement.Clone()
    ContentElement.CloneObject<T>(T)
    ContentElement.CaptureInitialValues()
    ContentElement.Index
    ContentElement.Parent
    ContentElement.Status
    Namespace: IronPPT.Models.List
    Assembly: IronPPT.dll
    Syntax
    public class ListLevel : ContentElement, ICloneableElement, IContentElement

    The formatting for one tier of a list, a single level of bullets or numbers, lives on ListLevel. Each level in a multi-level list has its own appearance and numbering, and a ListLevel carries the settings that decide how that one tier prints: the symbol or number format, where the text restarts, how it aligns, and which paragraph style it borrows.

    A ListLevel belongs to the list model inside a presentation and represents one indent depth rather than the whole list, so a three-deep outline is described by three levels, each configured independently. Because it is a content element, it sits in the document tree and can be cloned through the inherited Clone member when one level should seed another. You set its string properties to control the tier, then let the list apply them to paragraphs at that depth.

    The properties group into a few jobs. **Numbering** is set through NumberingFormat, StartNumberingValue, LevelRestart, LegacyNumbering, and IsLegalNumberingStyle, which together decide the counter style, where it begins, and when it resets. **Text and symbols** come from LevelText, LevelSuffix, and LevelPictureBulletId, covering the displayed marker, the character after it, and a picture bullet. **Layout and inheritance** use LevelJustification, ParagraphStyleIdInLevel, NumberingSymbolRunProperties, and PreviousParagraphProperties to align the tier, borrow a paragraph style, and reuse run and paragraph formatting. Set only the properties a level actually needs and leave the rest at their defaults.

    var level = new ListLevel();
    level.NumberingFormat = "decimal";
    level.StartNumberingValue = "1";
    level.LevelText = "%1.";

    The add text how-to covers placing text content, the customized bullet point example styles list markers, and the add paragraph example builds the paragraphs a list level applies to.

    Constructors

    ListLevel()

    Declaration
    public ListLevel()

    Properties

    IsLegalNumberingStyle

    Declaration
    public string IsLegalNumberingStyle { get; set; }
    Property Value
    Type Description
    System.String

    LegacyNumbering

    Declaration
    public string LegacyNumbering { get; set; }
    Property Value
    Type Description
    System.String

    LevelJustification

    Declaration
    public string LevelJustification { get; set; }
    Property Value
    Type Description
    System.String

    LevelPictureBulletId

    Declaration
    public string LevelPictureBulletId { get; set; }
    Property Value
    Type Description
    System.String

    LevelRestart

    Declaration
    public string LevelRestart { get; set; }
    Property Value
    Type Description
    System.String

    LevelSuffix

    Declaration
    public string LevelSuffix { get; set; }
    Property Value
    Type Description
    System.String

    LevelText

    Declaration
    public string LevelText { get; set; }
    Property Value
    Type Description
    System.String

    NumberingFormat

    Declaration
    public string NumberingFormat { get; set; }
    Property Value
    Type Description
    System.String

    NumberingSymbolRunProperties

    Declaration
    public string NumberingSymbolRunProperties { get; set; }
    Property Value
    Type Description
    System.String

    ParagraphStyleIdInLevel

    Declaration
    public string ParagraphStyleIdInLevel { get; set; }
    Property Value
    Type Description
    System.String

    PreviousParagraphProperties

    Declaration
    public string PreviousParagraphProperties { get; set; }
    Property Value
    Type Description
    System.String

    StartNumberingValue

    Declaration
    public string StartNumberingValue { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    ICloneableElement
    IContentElement

    Inherited members

    _Index
    Replace(IContentElement)
    Remove()
    GetIndex()
    Clone()
    CloneObject<T>(T)
    CaptureInitialValues()
    Index
    Parent
    Status
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet