Table of Contents

Class OverlayElementTextStyle

Namespace
LightningChartLib.WinForms.Charting.Titles
Assembly
LightningChart.WinForms.Charting.NET4.dll

Overlay elements title style

[TypeConverter(typeof(ExpandableObjectConverter))]
public class OverlayElementTextStyle : TitleBase, IChartNode, IDisposable, IHighlightingItem
Inheritance
OverlayElementTextStyle
Implements
Inherited Members

Constructors

OverlayElementTextStyle()

Constructor, for serialization purposes

public OverlayElementTextStyle()

OverlayElementTextStyle(IChartNode)

Constructor

public OverlayElementTextStyle(IChartNode owner)

Parameters

owner IChartNode
param owner M:LightningChartLib.WinForms.Charting.Titles.OverlayElementTextStyle.#ctor(LightningChartLib.WinForms.Charting.IChartNode)

Properties

CutOnEdges

Is the text clipped on element edges

public bool CutOnEdges { get; set; }

Property Value

bool

Remarks

Clipping works only if element rotate angle is divisible with 90

Distance

Text distance from element edge, if aligned to edge

public int Distance { get; set; }

Property Value

int

HorizAlign

Horizontal alignment

public AlignmentHorizontal HorizAlign { get; set; }

Property Value

AlignmentHorizontal

Offset

Text shift from it's align origin

public PointIntXY Offset { get; set; }

Property Value

PointIntXY

VerticalAlign

Vertical alignment

public AlignmentVertical VerticalAlign { get; set; }

Property Value

AlignmentVertical

Methods

CreateFont()

Create font.

protected override void CreateFont()

CreateShadow()

Create shadow.

protected override void CreateShadow()

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.