Use this method to internally change the image so that it
becomes a raster image. 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.