Class BorderStyle
Inheritance
System.Object
BorderStyle
Assembly: IronPPT.dll
Syntax
public class BorderStyle : Object
The look of one edge of a border, its color, thickness, spacing, and line style, lives on BorderStyle in IronPPT. You configure a BorderStyle to describe how a single side is drawn, then assign it to one of the four edges a Borders object exposes.
Four properties define the edge. BorderColor sets the line color as a Color, BorderSize sets the thickness, BorderSpace sets the gap between the border and the content, and BorderValue selects the line style from the BorderValues enumeration (solid, dashed, and similar). Build one with new BorderStyle(), set the properties you need, and hand it to the TopBorder, BottomBorder, LeftBorder, or RightBorder property of a Borders instance. Leaving a property unset keeps that aspect at its default, so a simple solid line needs only a color and a size.
The paragraph style example styles content blocks, and the add shape how-to is covered in the add-slide workflow.
Constructors
BorderStyle()
Declaration
Properties
BorderColor
Declaration
public Color BorderColor { get; set; }
Property Value
BorderSize
Declaration
public uint BorderSize { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
BorderSpace
Declaration
public uint BorderSpace { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
BorderValue
Declaration
public BorderValues BorderValue { get; set; }
Property Value