Back to Devexpress

OptionsPrintControl.TextToControlDistance Property

windowsforms-devexpress-dot-xtralayout-dot-optionsprintcontrol-a18d0b1e.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(-1)]
[XtraSerializableProperty]
public int TextToControlDistance { get; set; }
vb
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property TextToControlDistance As Integer

Property Value

TypeDefaultDescription
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 TypePath 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

Printing and Export

OptionsPrintControl Class

OptionsPrintControl Members

DevExpress.XtraLayout Namespace