Search Results for

    Show / Hide Table of Contents

    Class Borders

    Inheritance
    System.Object
    Borders
    Namespace: IronPPT.Models
    Assembly: IronPPT.dll
    Syntax
    public class Borders : Object

    Borders is the container that groups the four edges around a content block in IronPPT, so a single object describes the complete frame rather than four scattered settings. You hold one when you want a table cell, paragraph, or shape to carry an outline, and you set each side independently.

    Four properties make up the frame: TopBorder, BottomBorder, LeftBorder, and RightBorder, each a BorderStyle. A BorderStyle in turn carries that edge's BorderColor, BorderSize, BorderSpace, and BorderValue line style, so you control every side separately or repeat one configuration across all four for a uniform box. Create the object with new Borders(), assign a configured BorderStyle to each side you want drawn, and leave the others unset to skip them. A common pattern is to build one BorderStyle and assign the same settings to every edge for a plain rectangular outline.

    The paragraph style example styles a block, and the add slide how-to builds the slide content the frame sits on.

    Constructors

    Borders()

    Declaration
    public Borders()

    Properties

    BottomBorder

    Declaration
    public BorderStyle BottomBorder { get; set; }
    Property Value
    Type Description
    BorderStyle

    LeftBorder

    Declaration
    public BorderStyle LeftBorder { get; set; }
    Property Value
    Type Description
    BorderStyle

    RightBorder

    Declaration
    public BorderStyle RightBorder { get; set; }
    Property Value
    Type Description
    BorderStyle

    TopBorder

    Declaration
    public BorderStyle TopBorder { get; set; }
    Property Value
    Type Description
    BorderStyle
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet