API Reference

Class

WordParagraphBorders

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Provides access to paragraph border properties.

Inheritance

  • Object
  • WordParagraphBorders

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Methods

public Void SetBorder(WordParagraphBorderType type, WordBorderStyle style, OfficeColor color, UInt32 size, Boolean shadow) #
Returns: Void

Applies border settings to a specific side of the paragraph.

Parameters

type OfficeIMO.Word.WordParagraphBorderType requiredposition: 0
Side of the paragraph.
style OfficeIMO.Word.WordBorderStyle requiredposition: 1
Border style.
color OfficeIMO.Drawing.OfficeColor requiredposition: 2
Border color.
size System.UInt32 requiredposition: 3
Border width.
shadow System.Boolean requiredposition: 4
Whether the border has a shadow.

Properties

public Nullable<UInt32> 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<OfficeColor> LeftColor { get; set; } #

Gets or sets the left border color.

public Nullable<WordThemeColor> LeftThemeColor { get; set; } #

Gets or sets the left border theme color.

public Nullable<WordBorderStyle> LeftStyle { get; set; } #

Gets or sets the left border style.

public Nullable<UInt32> 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 Nullable<UInt32> 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<OfficeColor> RightColor { get; set; } #

Gets or sets the right border color.

public Nullable<WordThemeColor> RightThemeColor { get; set; } #

Gets or sets the right border theme color.

public Nullable<WordBorderStyle> RightStyle { get; set; } #

Gets or sets the right border style.

public Nullable<UInt32> 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 Nullable<UInt32> 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<OfficeColor> TopColor { get; set; } #

Gets or sets the top border color.

public Nullable<WordThemeColor> TopThemeColor { get; set; } #

Gets or sets the top border theme color.

public Nullable<WordBorderStyle> TopStyle { get; set; } #

Gets or sets the top border style.

public Nullable<UInt32> 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 Nullable<UInt32> 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<OfficeColor> BottomColor { get; set; } #

Gets or sets the bottom border color.

public Nullable<WordThemeColor> BottomThemeColor { get; set; } #

Gets or sets the bottom border theme color.

public Nullable<WordBorderStyle> BottomStyle { get; set; } #

Gets or sets the bottom border style.

public Nullable<UInt32> 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.