Version

Dy Property (LabelStyle)

Vertical offset distance of label text relative to its rectangle's top-left.
Syntax
'Declaration
 
Public Property Dy As Integer
public int Dy {get; set;}
Remarks

This property is frequently set on labels by the chart core. When changing its value, be aware that it may already be storing a value for the chart core, and it might get changed again by the chart core. This is particularly true in the case of axis labels.

The best practice for changing this property's value in code is to increment or decrement its existing value, rather than changing it to a new value altogether.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also