Table of Contents

Class GraphicHighlight

Namespace: FastReport.Olap.Highlight
Assembly: FastCube.Mono.dll

Abstract highlight ancestor with graphics dependencies

public abstract class GraphicHighlight : CustomHighlight

Inheritance

objectCustomHighlightGraphicHighlight

Derived

AverageHighlight, ContinuousHighlight, ExpressionHighlight, RangeHighlight, TopHighlight, UniqueHighlight

Inherited Members

CustomHighlight.owner, CustomHighlight.Changed, CustomHighlight.ApplyTo, CustomHighlight.Caption, CustomHighlight.HideValue, CustomHighlight.Index, CustomHighlight.IsCustomDrawn, CustomHighlight.Owner, CustomHighlight.ScanDirection, CustomHighlight.AcceptCell(MeasureCell), CustomHighlight.Assign(CustomHighlight), CustomHighlight.BeginUpdate(), CustomHighlight.EndUpdate(), CustomHighlight.GetExpressions(), CustomHighlight.Load(XmlItem), CustomHighlight.Save(XmlItem), CustomHighlight.DoChange()

Constructors

GraphicHighlight(CustomHighlights)

Creates a new instance.

public GraphicHighlight(CustomHighlights owner)

Parameters

owner CustomHighlights

Properties

Style

Draw style

public Style Style { get; set; }

Property Value

Style

Methods

Assign(CustomHighlight)

Copy settings from source highlight

public override void Assign(CustomHighlight source)

Parameters

source CustomHighlight

Source to copy from

DrawExample(Graphics, Rectangle)

Draw highlight example on the given Graphics and Rectangle

public virtual void DrawExample(Graphics g, Rectangle r)

Parameters

g Graphics

Graphics to draw on

r Rectangle

Rectangle where to draw

DrawValue(Graphics, Rectangle, MeasureCell, ref bool, ref bool)

Draw measure cell

public virtual void DrawValue(Graphics g, Rectangle r, MeasureCell Value, ref bool CanDrawImage, ref bool CanDrawText)

Parameters

g Graphics

Graphics to draw on

r Rectangle

Rectangle where to draw

Value MeasureCell

Measure cell

CanDrawImage bool

output param which defines whether grid can draw image

CanDrawText bool

output param which defines whether grid can draw text

GetStyleFor(MeasureCell)

Get style for measure cell

public virtual Style GetStyleFor(MeasureCell value)

Parameters

value MeasureCell

Measure cell

Returns

Style

draw Style

Load(XmlItem)

Load from XML

public override void Load(XmlItem item)

Parameters

item XmlItem

XML Item

Save(XmlItem)

Save to XML

public override void Save(XmlItem item)

Parameters

item XmlItem

XML Item

StyleChanged(object, EventArgs)

Handles style changed event.

protected virtual void StyleChanged(object sender, EventArgs e)

Parameters

sender object

e EventArgs