API Reference
WordParagraphBorders
Provides access to paragraph border properties.
Inheritance
- Object
- WordParagraphBorders
Methods
public Void SetBorder(WordParagraphBorderType type, BorderValues style, Color color, UInt32Value size, Boolean shadow) #VoidApplies border settings to a specific side of the paragraph.
Parameters
- type OfficeIMO.Word.WordParagraphBorderType
- Side of the paragraph.
- style DocumentFormat.OpenXml.Wordprocessing.BorderValues
- Border style.
- color SixLabors.ImageSharp.Color
- Border color.
- size DocumentFormat.OpenXml.UInt32Value
- Border width.
- shadow System.Boolean
- Whether the border has a shadow.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public UInt32Value LeftSize { get; set; } #Gets or sets the left border width in points.
public String LeftColorHex { get; set; } #Gets or sets the left border color as a hex value.
public Nullable<Color> LeftColor { get; set; } #Gets or sets the left border color.
public Nullable<ThemeColorValues> LeftThemeColor { get; set; } #Gets or sets the left border theme color.
public Nullable<BorderValues> LeftStyle { get; set; } #Gets or sets the left border style.
public UInt32Value LeftSpace { get; set; } #Gets or sets the left border spacing.
public Nullable<Boolean> LeftShadow { get; set; } #Gets or sets a value indicating whether the left border has a shadow.
public Nullable<Boolean> LeftFrame { get; set; } #Gets or sets a value indicating whether the left border is part of a frame.
public UInt32Value RightSize { get; set; } #Gets or sets the right border width in points.
public String RightColorHex { get; set; } #Gets or sets the right border color as a hex value.
public Nullable<Color> RightColor { get; set; } #Gets or sets the right border color.
public Nullable<ThemeColorValues> RightThemeColor { get; set; } #Gets or sets the right border theme color.
public Nullable<BorderValues> RightStyle { get; set; } #Gets or sets the right border style.
public UInt32Value RightSpace { get; set; } #Gets or sets the right border spacing.
public Nullable<Boolean> RightShadow { get; set; } #Gets or sets a value indicating whether the right border has a shadow.
public Nullable<Boolean> RightFrame { get; set; } #Gets or sets a value indicating whether the right border is part of a frame.
public UInt32Value TopSize { get; set; } #Gets or sets the top border width in points.
public String TopColorHex { get; set; } #Gets or sets the top border color as a hex value.
public Nullable<Color> TopColor { get; set; } #Gets or sets the top border color.
public Nullable<ThemeColorValues> TopThemeColor { get; set; } #Gets or sets the top border theme color.
public Nullable<BorderValues> TopStyle { get; set; } #Gets or sets the top border style.
public UInt32Value TopSpace { get; set; } #Gets or sets the top border spacing.
public Nullable<Boolean> TopShadow { get; set; } #Gets or sets a value indicating whether the top border has a shadow.
public Nullable<Boolean> TopFrame { get; set; } #Gets or sets a value indicating whether the top border is part of a frame.
public UInt32Value BottomSize { get; set; } #Gets or sets the bottom border width in points.
public String BottomColorHex { get; set; } #Gets or sets the bottom border color as a hex value.
public Nullable<Color> BottomColor { get; set; } #Gets or sets the bottom border color.
public Nullable<ThemeColorValues> BottomThemeColor { get; set; } #Gets or sets the bottom border theme color.
public Nullable<BorderValues> BottomStyle { get; set; } #Gets or sets the bottom border style.
public UInt32Value BottomSpace { get; set; } #Gets or sets the bottom border spacing.
public Nullable<Boolean> BottomShadow { get; set; } #Gets or sets a value indicating whether the bottom border has a shadow.
public Nullable<Boolean> BottomFrame { get; set; } #Gets or sets a value indicating whether the bottom border is part of a frame.
public WordBorder Type { get; set; } #Gets or sets the current border preset type.