Class
RtfPageBorders
OfficeIMO.Rtf
Page border settings for a document or section.
Inheritance
- object
- RtfPageBorders
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
- Method RtfPageBorders.SetDisplayOptions
- Property RtfPageSetup.PageBorders
Constructors
public RtfPageBorders() #Methods
public RtfPageBorder GetBorder(RtfPageBorderSide side) #Returns the page border for the requested side.
Parameters
- side OfficeIMO.Rtf.RtfPageBorderSide
Returns
RtfPageBorderpublic RtfPageBorders SetDisplayOptions(RtfPageBorderScope? scope = null, bool? displayBehindText = null, RtfPageBorderOffset? offsetFrom = null) #Sets page-border display options encoded by RTF \pgbrdropt.
Parameters
- scope OfficeIMO.Rtf.RtfPageBorderScope? = null
- displayBehindText bool? = null
- offsetFrom OfficeIMO.Rtf.RtfPageBorderOffset? = null
Returns
RtfPageBordersInherited Methods
Properties
public bool IncludeHeader { get; set; } #Whether the page border surrounds the header area.
public bool SnapToPageBorder { get; set; } #Whether page border edges should snap to page-border alignment.
public RtfPageBorderScope? Scope { get; set; } #Page range to which the border applies.
public bool? DisplayBehindText { get; set; } #Whether the page border is displayed behind document contents.
public RtfPageBorderOffset? OffsetFrom { get; set; } #Source edge used for border spacing.