StiComponentGdiPainter Class

Namespace: Stimulsoft.Report.Painters

Inheritance

Inherits from: StiGdiPainter

Methods

Method Returns Description
GetImage Image  
GetSelectionCornerColor Color  
GetThumbnail Bitmap Gets a thumbnail image of the component.
Paint void  
PaintBorder (+3 overloads) void  
PaintConditions void Paints conditions and filters of a component.
PaintConditionsAndFilter void Paints conditions and filters of a component.
PaintEvents void Paints events of a component.
PaintHighlight void Paints the highlight of the specified component.
PaintInheritedImage void  
PaintInteraction void  
PaintMarkers void Paints a markers specified by a Rectangle structure.
PaintNoDefinedStatus void  
PaintOrderAndQuickInfo void Paints order numbers and quick info of a component.
PaintProgress static void Paints progress of a component.
PaintQuickButtons void Paints the QuickButtons.
PaintSelection void Paints the selection.

Method Details

GetImage

GetImage(component: StiComponent, zoom: float, format: StiExportFormat): Image

Parameters

Returns Image


GetSelectionCornerColor

GetSelectionCornerColor(comp: StiComponent): Color

Parameters

  • comp (StiComponent)

Returns Color


GetThumbnail

GetThumbnail(component: StiComponent, width: int, height: int, isDesignTime: bool): Bitmap

Gets a thumbnail image of the component.

Parameters

  • component (StiComponent)
  • width (int) — Width of the thumbnail image.
  • height (int) — Height of the thumbnail image.
  • isDesignTime (bool)

Returns Bitmap — A thumbnail image of the specified size.


Paint

Paint(component: StiComponent, e: StiPaintEventArgs): void

Parameters

  • component (StiComponent)
  • e (StiPaintEventArgs)

PaintBorder

PaintBorder(component: StiComponent, g: Graphics, rect: RectangleD): void

Parameters


PaintBorder(component: StiComponent, g: Graphics, rect: RectangleD, drawBorderFormatting: bool, drawBorderSides: bool): void

Parameters

  • component (StiComponent)
  • g (Graphics)
  • rect (RectangleD)
  • drawBorderFormatting (bool)
  • drawBorderSides (bool)

PaintBorder(component: StiComponent, g: Graphics, rect: RectangleD, zoom: double, drawBorderFormatting: bool, drawBorderSides: bool): void

Parameters

  • component (StiComponent)
  • g (Graphics)
  • rect (RectangleD)
  • zoom (double)
  • drawBorderFormatting (bool)
  • drawBorderSides (bool)

PaintBorder(component: StiComponent, g: Graphics, rect: RectangleF, zoom: float, drawBorderFormatting: bool, drawBorderSides: bool): void

Parameters

  • component (StiComponent)
  • g (Graphics)
  • rect (RectangleF)
  • zoom (float)
  • drawBorderFormatting (bool)
  • drawBorderSides (bool)

PaintConditions

PaintConditions(component: StiComponent, g: Graphics, rect: RectangleD): void

Paints conditions and filters of a component.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to paint on.
  • rect (RectangleD) — The rectangle.

PaintConditionsAndFilter

PaintConditionsAndFilter(component: StiComponent, g: Graphics, rect: RectangleD): void

Paints conditions and filters of a component.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to paint on.
  • rect (RectangleD) — The rectangle.

PaintEvents

PaintEvents(component: StiComponent, g: Graphics, rect: RectangleD): void

Paints events of a component.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to paint on.
  • rect (RectangleD) — The rectangle.

PaintHighlight

PaintHighlight(component: StiComponent, e: StiPaintEventArgs): void

Paints the highlight of the specified component.

Parameters

  • component (StiComponent)
  • e (StiPaintEventArgs)

PaintInheritedImage

PaintInheritedImage(component: StiComponent, g: Graphics): void

Parameters


PaintInteraction

PaintInteraction(component: StiComponent, g: Graphics): void

Parameters


PaintMarkers

PaintMarkers(component: StiComponent, g: Graphics, rect: RectangleD, color: Color?): void

Paints a markers specified by a Rectangle structure.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to draw on.
  • rect (RectangleD) — RectangleD structure that represents the rectangle to draw markers.
  • color (Color?)

PaintNoDefinedStatus

PaintNoDefinedStatus(g: Graphics, rect: RectangleF, comp: StiComponent, imagePath: string, defaultText: string): void

Parameters

  • g (Graphics)
  • rect (RectangleF)
  • comp (StiComponent)
  • imagePath (string)
  • defaultText (string)

PaintOrderAndQuickInfo

PaintOrderAndQuickInfo(component: StiComponent, g: Graphics, number: string): void

Paints order numbers and quick info of a component.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to paint on.
  • number (string) — A number of the component order for painting.

PaintProgress static

PaintProgress(g: Graphics, rect: RectangleD, progressStatus: StiProgressStatus, value: float?): void

Paints progress of a component.

Parameters


PaintQuickButtons

PaintQuickButtons(component: StiComponent, g: Graphics): void

Paints the QuickButtons.

Parameters

  • component (StiComponent)
  • g (Graphics) — The Graphics to paint on.

PaintSelection

PaintSelection(component: StiComponent, e: StiPaintEventArgs): void

Paints the selection.

Parameters

  • component (StiComponent)
  • e (StiPaintEventArgs)