Einhugur SVG Plugin for Xojo |
|
Image.ToRawBitmap Method
Creates suitable RawBitmap object and renders the SVG image into the bitmap.

ToRawBitmap(
width
as UInt32,
Height
as UInt32)
as RawBitmap
Parameters
- width
- Desired width of the bitmap or zero.
- Height
- Desired height of the bitmap or zero.
Returns
- RawBitmap
Remarks
If both width and height are zero then you get RawBitmap in same size as the the actual SVG size.
If one of the width and height parameters is zero then you will get proportionally correct scaling.
This function can throw OutOfMemoryException
See Also
Image Class