API Reference
Class
PlacedLabel
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
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public LabelPlacementRequest Request { get; } #Gets the original request.
public String Text { get; } #Gets the displayed text, or an empty string when dropped.
public ChartRect Bounds { get; } #Gets the measured text rectangle in logical pixels.
public Boolean IsDropped { get; } #Gets whether the label was dropped after its candidates were exhausted.
public Boolean IsEllipsized { get; } #Gets whether the visible text was shortened.
public Int32 CandidateIndex { get; } #Gets the chosen candidate index, or minus one when dropped.
public Boolean HasLeaderLine { get; } #Gets whether to draw a leader to the nearest point on the label box.
public ChartPoint LeaderEnd { get; } #Gets the leader's endpoint on the label box.