Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfPageBorder

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Implements
IRtfCloneable
Modifiers
sealed

Formatting for one side of an RTF page border.

Inheritance

  • object
  • RtfPageBorder

Usage

Explore 6 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.

Constructors

public RtfPageBorder() #

Methods

public RtfPageBorder Set(RtfPageBorderStyle style, int? width = null, int? space = null, int? colorIndex = null) #

Sets the page border line properties.

Parameters

style OfficeIMO.Rtf.RtfPageBorderStyle required
width int? = null optional
space int? = null optional
colorIndex int? = null optional

Properties

public RtfPageBorderStyle Style { get; set; } #

Border line style.

public int? Width { get; set; } #

Border width value carried by the RTF \brdrw control.

public int? Space { get; set; } #

Space between the page border and the measured edge, represented by \brsp.

public int? ColorIndex { get; set; } #

One-based color table index.

public bool Shadow { get; set; } #

Whether the border has a shadow effect.

public bool Frame { get; set; } #

Whether the border is displayed as a frame border.

public bool HasAnyValue { get; } #

Whether any border formatting is present.