GraphDocumentExportActionsRenderAsEnhancedMetafileVectorFormatToStream(GraphDocument, Stream, Double, Double, BrushX, PixelFormat) 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 (int pixelsX, int pixelsY) RenderAsEnhancedMetafileVectorFormatToStream(
GraphDocument doc,
Stream stream,
double sourceDpiResolution,
double outputScalingFactor,
BrushX? backgroundBrush = null,
PixelFormat pixelFormat = PixelFormat.Format32bppArgb
)
Parameters
- doc GraphDocument
- graph document.
- stream Stream
- The stream the metafile is rendered to.
- 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.
Return Value
ValueTupleInt32,
Int32[Missing <returns> documentation for "M:Altaxo.Graph.Gdi.GraphDocumentExportActions.RenderAsEnhancedMetafileVectorFormatToStream(Altaxo.Graph.Gdi.GraphDocument,System.IO.Stream,System.Double,System.Double,Altaxo.Drawing.BrushX,System.Drawing.Imaging.PixelFormat)"]
See Also