Show / Hide Table of Contents

Class SimplePointer

Represents a simple pointer.

Inheritance
System.Object
GaugePointer
SimplePointer
SimpleProgressPointer
Inherited Members
GaugePointer.Parent
GaugePointer.Fill
GaugePointer.BorderWidth
GaugePointer.BorderColor
Namespace: FastReport.Gauge.Simple
Assembly: FastReport.OpenSource.dll
Syntax
public class SimplePointer : GaugePointer

Constructors

SimplePointer(GaugeObject)

Initializes a new instance of the SimplePointer class.

Declaration
public SimplePointer(GaugeObject parent)
Parameters
Type Name Description
GaugeObject parent

The parent gauge object.

Properties

Height

Gets o sets the height of gauge pointer.

Declaration
public float Height { get; set; }
Property Value
Type Description
System.Single

HorizontalOffset

Gets or sets the pointer horizontal offset (cm).

Declaration
public float HorizontalOffset { get; set; }
Property Value
Type Description
System.Single

PointerRatio

Gets or sets the pointer ratio.

Declaration
public float PointerRatio { get; set; }
Property Value
Type Description
System.Single

Width

Gets or sets the width of a pointer.

Declaration
public float Width { get; set; }
Property Value
Type Description
System.Single

Methods

Assign(GaugePointer)

Copies the contents of another GaugePointer.

Declaration
public override void Assign(GaugePointer src)
Parameters
Type Name Description
GaugePointer src

The GaugePointer instance to copy the contents from.

Overrides
GaugePointer.Assign(GaugePointer)

Draw(FRPaintEventArgs)

Draws the gauge pointer.

Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type Name Description
FRPaintEventArgs e

Draw event arguments.

Overrides
GaugePointer.Draw(FRPaintEventArgs)

Serialize(FRWriter, String, GaugePointer)

Serializes the gauge pointer.

Declaration
public override void Serialize(FRWriter writer, string prefix, GaugePointer diff)
Parameters
Type Name Description
FRWriter writer

Writer object.

System.String prefix

Gauge pointer property name.

GaugePointer diff

Another GaugePointer to compare with.

Overrides
GaugePointer.Serialize(FRWriter, String, GaugePointer)
Remarks

This method is for internal use only.

Back to top Generated by DocFX