Class GaugeLabel
Represents a label to be displayed within a gauge panel.
Inherited Members
Namespace: BoldReports.RDL.DOM
Assembly: BoldReports.UWP.dll
Syntax
public class GaugeLabel : GaugePanelItem
Constructors
GaugeLabel()
Initializes a new instance of the GaugeLabel class.
Declaration
public GaugeLabel()
GaugeLabel(ReportSerializer)
Initializes a new instance of the GaugeLabel class using the specified serializer.
Declaration
public GaugeLabel(ReportSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| BoldReports.RDL.DOM.ReportSerializer | serializer | The BoldReports.RDL.DOM.ReportSerializer used to deserialize the gauge label data. |
Properties
Angle
Gets or sets the angle of rotation for the gauge label.
Declaration
public float Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The angle in degrees. |
ResizeMode
Gets or sets the resize mode for the gauge label.
Declaration
public ResizeMode ResizeMode { get; set; }
Property Value
| Type | Description |
|---|---|
| BoldReports.RDL.DOM.ResizeMode | The ResizeMode value. |
Style
Gets or sets the style for the gauge label.
Declaration
public Style Style { get; set; }
Property Value
| Type | Description |
|---|---|
| BoldReports.RDL.DOM.Style | The Style instance. |
Text
Gets or sets the text content of the gauge label.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The text string. |
TextShadowOffset
Gets or sets the text shadow offset for the gauge label.
Declaration
public Size TextShadowOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| BoldReports.RDL.DOM.Size | The BoldReports.RDL.DOM.Size representing the shadow offset. |
UseFontPercent
Gets or sets a value indicating whether font size should be calculated as a percentage.
Declaration
public bool UseFontPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | True if font size is a percentage; otherwise, false. |