StiSvgHelper Class

Namespace: Stimulsoft.Report.Export

Methods

Method Returns Description
GetLineStyleDash static string  
GetStyleString static string  
RenderCheckBox static string  
RenderIcon static string  
RenderShape static MemoryStream  
RenderShapeAsBase64 static string  
SaveComponentToString static (+1 overloads) string  
SaveToStream static void  
ToUnits static string  
WriteCheckBox static void  

Method Details

GetLineStyleDash static

GetLineStyleDash(penStyle: StiPenStyle, width: double): string

Parameters

Returns string


GetStyleString static

GetStyleString(font: Font, textColor: Color, useTextDecoration: bool): string

Parameters

  • font (Font)
  • textColor (Color)
  • useTextDecoration (bool)

Returns string


RenderCheckBox static

RenderCheckBox(style: StiCheckStyle, contourColor: Color, contourSize: double, textBrush: StiBrush, width: double): string

Parameters

Returns string


RenderIcon static

RenderIcon(image: StiImage, zoom: float, baseWidth: double, baseHeight: double): string

Parameters

  • image (StiImage)
  • zoom (float)
  • baseWidth (double)
  • baseHeight (double)

Returns string


RenderShape static

RenderShape(component: StiComponent): MemoryStream

Parameters

  • component (StiComponent)

Returns MemoryStream


RenderShapeAsBase64 static

RenderShapeAsBase64(component: StiComponent): string

Parameters

  • component (StiComponent)

Returns string


SaveComponentToString static

SaveComponentToString(component: StiComponent): string

Parameters

  • component (StiComponent)

Returns string


SaveComponentToString(component: StiComponent, zoom: double): string

Parameters

  • component (StiComponent)
  • zoom (double)

Returns string


SaveToStream static

SaveToStream(report: StiReport, page: StiPage, stream: Stream, compressed: bool): void

Parameters

  • report (StiReport)
  • page (StiPage)
  • stream (Stream)
  • compressed (bool)

ToUnits static

ToUnits(number: double, digitsLimit: int): string

Parameters

  • number (double)
  • digitsLimit (int)

Returns string


WriteCheckBox static

WriteCheckBox(writer: XmlTextWriter, svgData: StiSvgData): void

Parameters