Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfPageBorder

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Implements
IRtfCloneable
Modifiers sealed

Formatting for one side of an RTF page border.

Inheritance

  • Object
  • RtfPageBorder

Usage

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, Nullable<Int32> width = null, Nullable<Int32> space = null, Nullable<Int32> colorIndex = null) #
Returns: RtfPageBorder

Sets the page border line properties.

Parameters

style OfficeIMO.Rtf.RtfPageBorderStyle requiredposition: 0
width System.Nullable{System.Int32} = null optionalposition: 1
space System.Nullable{System.Int32} = null optionalposition: 2
colorIndex System.Nullable{System.Int32} = null optionalposition: 3

Properties

public RtfPageBorderStyle Style { get; set; } #

Border line style.

public Nullable<Int32> Width { get; set; } #

Border width value carried by the RTF \brdrw control.

public Nullable<Int32> Space { get; set; } #

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

public Nullable<Int32> ColorIndex { get; set; } #

One-based color table index.

public Boolean Shadow { get; set; } #

Whether the border has a shadow effect.

public Boolean Frame { get; set; } #

Whether the border is displayed as a frame border.

public Boolean HasAnyValue { get; } #

Whether any border formatting is present.