Class GraphicHighlight
Abstract highlight ancestor with graphics dependencies
Inheritance
System.Object
GraphicHighlight
Inherited Members
Namespace: FastReport.Olap.Highlight
Assembly: FastReport.Olap.dll
Syntax
public abstract class GraphicHighlight : CustomHighlight
Constructors
GraphicHighlight(CustomHighlights)
Declaration
public GraphicHighlight(CustomHighlights owner)
Parameters
Type | Name | Description |
---|---|---|
CustomHighlights | owner |
Properties
Style
Draw style
Declaration
public Style Style { get; set; }
Property Value
Type | Description |
---|---|
Style |
Methods
Assign(CustomHighlight)
Declaration
public override void Assign(CustomHighlight source)
Parameters
Type | Name | Description |
---|---|---|
CustomHighlight | source |
Overrides
DrawExample(Graphics, Rectangle)
Draw highlight example on the given Graphics and Rectangle
Declaration
public virtual void DrawExample(Graphics g, Rectangle r)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics to draw on |
System.Drawing.Rectangle | r | Rectangle where to draw |
DrawValue(Graphics, Rectangle, MeasureCell, ref Boolean, ref Boolean)
Draw measure cell
Declaration
public virtual void DrawValue(Graphics g, Rectangle r, MeasureCell Value, ref bool CanDrawImage, ref bool CanDrawText)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics to draw on |
System.Drawing.Rectangle | r | Rectangle where to draw |
MeasureCell | Value | Measure cell |
System.Boolean | CanDrawImage | output param which defines whether grid can draw image |
System.Boolean | CanDrawText | output param which defines whether grid can draw text |
GetStyleFor(MeasureCell)
Get style for measure cell
Declaration
public virtual Style GetStyleFor(MeasureCell value)
Parameters
Type | Name | Description |
---|---|---|
MeasureCell | value | Measure cell |
Returns
Type | Description |
---|---|
Style | draw Style |
Load(XmlItem)
Declaration
public override void Load(XmlItem item)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item |
Overrides
Save(XmlItem)
Declaration
public override void Save(XmlItem item)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item |
Overrides
StyleChanged(Object, EventArgs)
Declaration
protected virtual void StyleChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.EventArgs | e |