Skip to main content
A newer version of this page is available. .

LabelBrick.CanShrinkAndGrow Property

Specifies whether or not a brick’s height can be automatically changed based on the amount of its contents.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

[DefaultValue(false)]
public bool CanShrinkAndGrow { get; set; }

Property Value

Type Default Description
Boolean **false**

true to enable automatic adjustment of a brick’s height; otherwise false.

Remarks

When exporting documents to RTF as a single file (by setting the RtfExportOptions.ExportMode property to RtfExportMode.SingleFile), set the CanShrinkAndGrow property to true to avoid a brick’s content from being split across pages by certain word processors.

See Also