public static Bitmap ToBitmap(
this Metafile metafile,
Size requestedSize,
bool antiAliased = false
)<ExtensionAttribute>
Public Shared Function ToBitmap (
metafile As Metafile,
requestedSize As Size,
Optional antiAliased As Boolean = false
) As Bitmappublic:
[ExtensionAttribute]
static Bitmap^ ToBitmap(
Metafile^ metafile,
Size requestedSize,
bool antiAliased = false
)[<ExtensionAttribute>]
static member ToBitmap :
metafile : Metafile *
requestedSize : Size *
?antiAliased : bool
(* Defaults:
let _antiAliased = defaultArg antiAliased false
*)
-> Bitmap If the source metafile contains already anti-aliased records, setting antiAliased to will not improve the result. It also does not really help if the metafile contains only bitmap drawing records.
If the requestedSize is very large, the conversion may omit anti-aliasing.