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

OptionsPrintControl.TextToControlDistance Property

Gets or sets the distance between text regions of all layout items and their controls in a LayoutControl‘s print/export output.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public int TextToControlDistance { get; set; }

#Property Value

Type Default Description
Int32 -1

A value that specifies the distance between text regions and controls, in pixels.

#Property Paths

You can access this nested property as listed below:

Object Type Path to TextToControlDistance
LayoutControl
.OptionsPrint .TextToControlDistance

#Remarks

Each layout item can override the OptionsPrintControl.TextToControlDistance value with its own TextToControlDistance property (OptionsPrintBase.TextToControlDistance).

The TextToControlDistance properties are not supported if the OptionsPrintControl.OldPrinting property is set to true.

See Also