# PlacedLabel

The deterministic placement result for one requested label.

 Class  

`ChartForgeX.Rendering`

**Namespace**

`ChartForgeX.Rendering`

**Assembly**

`ChartForgeX`

**Source**

[LabelPlacement.cs:114](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L114)

**Modifiers**

sealed

The deterministic placement result for one requested label.

## Inheritance

- object
- PlacedLabel

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [LabelPlacementService.Place](/api/chartforgex-rendering-labelplacementservice/#method-place-collections-generic-ireadonlylist-chartforgex-rendering-labelplacementrequest-chartforgex-primitives-chartrect-collections-generic-ireadonlylist-chartforgex-rendering-labelobstacle-double)

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public LabelPlacementRequest Request { get; }` [#](#property-request) 

[LabelPlacement.cs:114](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L114)

Gets the original request.

 `public string Text { get; }` [#](#property-text) 

[LabelPlacement.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L116)

Gets the displayed text, or an empty string when dropped.

 `public ChartRect Bounds { get; }` [#](#property-bounds) 

[LabelPlacement.cs:118](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L118)

Gets the measured text rectangle in logical pixels.

 `public bool IsDropped { get; }` [#](#property-isdropped) 

[LabelPlacement.cs:120](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L120)

Gets whether the label was dropped after its candidates were exhausted.

 `public bool IsEllipsized { get; }` [#](#property-isellipsized) 

[LabelPlacement.cs:122](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L122)

Gets whether the visible text was shortened.

 `public int CandidateIndex { get; }` [#](#property-candidateindex) 

[LabelPlacement.cs:124](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L124)

Gets the chosen candidate index, or minus one when dropped.

 `public bool HasLeaderLine { get; }` [#](#property-hasleaderline) 

[LabelPlacement.cs:126](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L126)

Gets whether to draw a leader to the nearest point on the label box.

 `public ChartPoint LeaderEnd { get; }` [#](#property-leaderend) 

[LabelPlacement.cs:128](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L128)

Gets the leader's endpoint on the label box.

 `public ChartPoint LeaderStart { get; internal set; }` [#](#property-leaderstart) 

[LabelPlacement.cs:130](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/LabelPlacement.cs#L130)

Gets the leader start, clipped to the source boundary when its anchor is inside the mark and its caption is outside.

<!-- PowerForge markdown artifact sha256:CA0B04F86D7EF6579C0B4E1551D9F3A08683574D7127D98A7D0B0994CFA3FC72 -->
