Skip to main content

RichTextBoxLinkBase.PrintFormat Property

Gets or sets a value indicating what size a RichTextBox is printed.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

[DefaultValue(RichTextPrintFormat.ClientPageSize)]
public RichTextPrintFormat PrintFormat { get; set; }

Property Value

Type Default Description
RichTextPrintFormat ClientPageSize

A RichTextPrintFormat enumeration value. The default is ClientPageSize.

Available values:

Name Description
ClientPageSize

A RichTextBox is printed using the page width specified by the PrintingSystem.PageSettings of a link’s PrintingSystem.

RichTextBoxSize

A RichTextBox is printed using the Width property value of the RichTextBox control.

Custom

A RichTextBox is printed using the width specified via the RichTextBoxLinkBase.CustomFormatSize property.

Remarks

Use the RichTextBoxLinkBase.InfiniteFormatHeight property to make the printed height of the RichTextBox high enough to fit its contents.

See Also