Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichTextBoxLinkBase.PrintFormat Property

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

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: 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