StiRtfHelper Class
Namespace: Stimulsoft.Report.Render.Rtf
Methods
| Method | Returns | Description |
|---|---|---|
Break static |
List |
|
ConvertToHtml static |
string | |
Draw static |
void | |
Measure static |
SizeF | |
Render static |
List<StiRtfGeom> | Render rtf to list of geoms |
Zoom static |
List<StiRtfGeom> |
Method Details
Break static
Break(rtf: string, rect: RectangleF, wordwrap: bool): List
Parameters
- rtf (string)
- rect (RectangleF)
- wordwrap (bool)
Returns List
ConvertToHtml static
ConvertToHtml(rtfString: string, wordwrap: bool): string
Parameters
- rtfString (string)
- wordwrap (bool)
Returns string
Draw static
Draw(rtf: string, rect: RectangleF, g: Graphics, zoom: float, wordwrap: bool): void
Parameters
- rtf (string)
- rect (RectangleF)
- g (Graphics)
- zoom (float)
- wordwrap (bool)
Measure static
Measure(rtf: string, maxWidth: double, zoom: float, wordwrap: bool): SizeF
Parameters
- rtf (string)
- maxWidth (double)
- zoom (float)
- wordwrap (bool)
Returns SizeF
Render static
Render(rtf: string, rect: RectangleF, wordwrap: bool): List<StiRtfGeom>
Render rtf to list of geoms
Parameters
- rtf (string) — rtf-string
- rect (RectangleF) — rectangle in Hundredths of Inch
- wordwrap (bool)
Returns List<StiRtfGeom>
Zoom static
Zoom(geoms: List<StiRtfGeom>, zoom: float): List<StiRtfGeom>
Parameters
- geoms (List<StiRtfGeom>)
- zoom (float)
Returns List<StiRtfGeom>