API Reference
Class
RtfPageBorder
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.
Returned or exposed by
- Method RtfPageBorder.Set
- Method RtfPageBorders.GetBorder
- Property RtfPageBorders.Bottom
- Property RtfPageBorders.Left
- Property RtfPageBorders.Right
- Property RtfPageBorders.Top
Constructors
public RtfPageBorder() #Methods
public RtfPageBorder Set(RtfPageBorderStyle style, Nullable<Int32> width = null, Nullable<Int32> space = null, Nullable<Int32> colorIndex = null) #Returns:
RtfPageBorderSets the page border line properties.
Parameters
- style OfficeIMO.Rtf.RtfPageBorderStyle
- width System.Nullable{System.Int32} = null
- space System.Nullable{System.Int32} = null
- colorIndex System.Nullable{System.Int32} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.