ILNumerics - Technical Application Development
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
bitmap containing the item
Render a string onto a bitmap and measure exact size
[ILNumerics Visualization Engine]
Namespace: ILNumerics.Drawing
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax
public Bitmap TransformItem( string item, Font font, out Rectangle textureStorageSize, out RectangleF textureGlyphSize, out SizeF glyphScreenSize, bool oversample = true )
Parameters
- item
- Type: SystemString
item to be rendered - font
- Type: System.DrawingFont
font used for rendering - textureStorageSize
- Type: System.DrawingRectangle
[output] size of the rendered item - textureGlyphSize
- Type: System.DrawingRectangleF
- glyphScreenSize
- Type: System.DrawingSizeF
- oversample (Optional)
- Type: SystemBoolean
Return Value
Type: Bitmapbitmap containing the item
Remarks
[ILNumerics Visualization Engine]
See Also