This method creates a new image identical to this one except in
raster format. Multiple page vector images will be converted to a
single page image of the current Frame.
The two different versions of the function work a slightly
The parameterless function works directly, preserving
transparency where appropriate. It is the version you will tend to
want to use.
The version taking a type works via an intermediate file format
which means that export settings affect the output. It is
maintained for backwards compatibility with older code. The
UseAlpha property determines if alpha transparency is preserved
in the output Bitmap. The HRes
properties determine the resolution of the output.