WordParagraphBorders
OfficeIMO.Word
Provides access to paragraph border properties.
Inheritance
- object
- WordParagraphBorders
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property WordParagraph.Borders
- Property WordStyle.Borders
Methods
public void SetBorder(WordParagraphBorderType type, WordBorderStyle style, OfficeColor color, OfficeLength size, bool shadow) #Applies border settings to a specific side of the paragraph.
Parameters
- type OfficeIMO.Word.WordParagraphBorderType
- Side of the paragraph.
- style OfficeIMO.Word.WordBorderStyle
- Border style.
- color OfficeIMO.OfficeColor
- Border color.
- size OfficeIMO.OfficeLength
- Border width, rounded to the nearest eighth of a point.
- shadow bool
- Whether the border has a shadow.
Inherited Methods
Properties
public OfficeLength? LeftSize { get; set; } #Gets or sets the left border width as a physical length.
public OfficeColor? LeftColor { get; set; } #Gets or sets the left border color.
public WordThemeColor? LeftThemeColor { get; set; } #Gets or sets the left border theme color.
public WordBorderStyle? LeftStyle { get; set; } #Gets or sets the left border style.
public OfficeLength? LeftSpace { get; set; } #Gets or sets the left border spacing.
public bool? LeftShadow { get; set; } #Gets or sets a value indicating whether the left border has a shadow.
public bool? LeftFrame { get; set; } #Gets or sets a value indicating whether the left border is part of a frame.
public OfficeLength? RightSize { get; set; } #Gets or sets the right border width as a physical length.
public OfficeColor? RightColor { get; set; } #Gets or sets the right border color.
public WordThemeColor? RightThemeColor { get; set; } #Gets or sets the right border theme color.
public WordBorderStyle? RightStyle { get; set; } #Gets or sets the right border style.
public OfficeLength? RightSpace { get; set; } #Gets or sets the right border spacing.
public bool? RightShadow { get; set; } #Gets or sets a value indicating whether the right border has a shadow.
public bool? RightFrame { get; set; } #Gets or sets a value indicating whether the right border is part of a frame.
public OfficeLength? TopSize { get; set; } #Gets or sets the top border width as a physical length.
public OfficeColor? TopColor { get; set; } #Gets or sets the top border color.
public WordThemeColor? TopThemeColor { get; set; } #Gets or sets the top border theme color.
public WordBorderStyle? TopStyle { get; set; } #Gets or sets the top border style.
public OfficeLength? TopSpace { get; set; } #Gets or sets the top border spacing.
public bool? TopShadow { get; set; } #Gets or sets a value indicating whether the top border has a shadow.
public bool? TopFrame { get; set; } #Gets or sets a value indicating whether the top border is part of a frame.
public OfficeLength? BottomSize { get; set; } #Gets or sets the bottom border width as a physical length.
public OfficeColor? BottomColor { get; set; } #Gets or sets the bottom border color.
public WordThemeColor? BottomThemeColor { get; set; } #Gets or sets the bottom border theme color.
public WordBorderStyle? BottomStyle { get; set; } #Gets or sets the bottom border style.
public OfficeLength? BottomSpace { get; set; } #Gets or sets the bottom border spacing.
public bool? BottomShadow { get; set; } #Gets or sets a value indicating whether the bottom border has a shadow.
public bool? 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.