Common Reference > Document Class > RenderMetafile Method > (Stream,PageMode,TextRenderingHint,EmfType,Double)

Document.RenderMetafile Method (Stream,PageMode,TextRenderingHint,EmfType,Double)

Write document to given Stream as Metafile with given page mode, text rendering, metafile format and resolution to given Stream.

public void RenderMetafile(
    Stream stream,
    PageMode pagemode,
    TextRenderingHint textmode,
    EmfType emftype,
    double dpi
);
stream
Stream to output Metafile to.
pagemode
Page layout to use (defaults to PageMode.Vertical).
textmode
Text mode to use (defaults to TextRenderingHint.AntiAlias).
emftype
Specifies the nature of the records that are placed in an EMF (defaults to EmfType.EmfPlusDual).
dpi
Metafile resolution in dots per inch (defaults to 96).
return value
Created Metafile.

See also ...

Document.Members | Document.RenderMetafile Method


Send comments on this topic
© Dyalog Ltd 2021