GraphDocumentExportActionsRenderAsEnhancedMetafileBitmapFormat Method |
Creates a new metafile and renders a bitmap into it.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Metafile RenderAsEnhancedMetafileBitmapFormat(
Bitmap bmp,
PointD2D docSize,
Stream? stream = null
)
Parameters
- bmp Bitmap
- The image to render.
- docSize PointD2D
- The document size (in points = 1/72 inch).
- stream Stream (Optional)
- Optional: if given, the metafile is additionally rendered into the stream.
Return Value
MetafileThe newly created metafile. It contains only the provided bitmap.
See Also