GraphDocumentExportActionsRenderAsEnhancedMetafileVectorFormat(GraphDocument, Double, Double, BrushX, PixelFormat, Stream) Method |
Renders the graph document as enhanced metafile in vector format.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Metafile RenderAsEnhancedMetafileVectorFormat(
GraphDocument doc,
double sourceDpiResolution,
double outputScalingFactor,
BrushX? backgroundBrush = null,
PixelFormat pixelFormat = PixelFormat.Format32bppArgb,
Stream? stream = null
)
Parameters
- doc GraphDocument
- graph document.
- sourceDpiResolution Double
- The resolution in dpi of the source.
- outputScalingFactor Double
- Output scaling factor. If less than 1, the image will appear smaller than originally, if greater than 1, the image will appear larger than originally.
- backgroundBrush BrushX (Optional)
- The background brush. This argument can be null, or the brush can be transparent.
- pixelFormat PixelFormat (Optional)
- Optional: Only used if the graphics context can not be created from a printer document. Pixel format of the bitmap that is used in this case to construct the graphics context.
- stream Stream (Optional)
- Optional: stream. If given, the metafile is rendered into the given stream.
Return Value
MetafileThe rendered enhanced metafile (vector format).
See Also