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

SizeMode Enum

Lists the cell size modes supported by the XRCharacterComb control.

Namespace: DevExpress.XtraPrinting

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

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

Declaration

[ResourceFinder(typeof(ResFinder))]
public enum SizeMode

Members

Name Description
Custom

The cell size is determined by the XRCharacterComb.CellHeight and XRCharacterComb.CellWidth property values and does not depend on the assigned font size.

With this setting, the actual cell size is less than the specified CellHeight and CellWidth by the XRControl.BorderWidth value.

AutoWidth

Only the cell width depends on the current font size of a control (the XRCharacterComb.CellWidth property is ignored), and the XRCharacterComb.CellHeight value is specified manually.

With this setting, the actual cell width does not depend on the specified border width of a control, while the effective cell height is the difference between the specified XRCharacterComb.CellHeight and XRControl.BorderWidth values.

AutoHeight

Only the cell height depends on the current font size of a control (the XRCharacterComb.CellHeight property is ignored), and the XRCharacterComb.CellWidth value is specified manually.

With this setting, the actual cell height does not depend on the specified border width of a control, while the effective cell width is the difference between the specified XRCharacterComb.CellWidth and XRControl.BorderWidth values.

AutoSize

The cell size depends on the current font size of a control (the XRCharacterComb.CellHeight and XRCharacterComb.CellWidth properties are ignored).

With this setting, the actual cell size does not depend on the specified border width of a control.

Remarks

A SizeMode enumeration value is returned by the XRCharacterComb.CellSizeMode property.

See Also