Search Results for

    Show / Hide Table of Contents

    Class PenAlignmentValues

    Inheritance
    System.Object
    PenAlignmentValues
    Namespace: IronPPT.Enums
    Assembly: IronPPT.dll
    Syntax
    public sealed class PenAlignmentValues : Enum

    Control where a shape outline sits relative to its edge with PenAlignmentValues in IronPPT. Center straddles the line stroke across the boundary so half falls inside and half outside, while Inset pulls the whole stroke inward so it stays within the shape bounds. Choose the value when you style a border so the outline aligns the way the design calls for. The add shape example shows shapes being placed on a slide.

    var alignment = PenAlignmentValues.Center;

    Fields

    Center

    Declaration
    public const PenAlignmentValues Center
    Field Value
    Type Description
    PenAlignmentValues

    Inset

    Declaration
    public const PenAlignmentValues Inset
    Field Value
    Type Description
    PenAlignmentValues

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet