EmfDevice

EmfDevice class

Represents image device that helps to save pdf document pages into emf.

public sealed class EmfDevice : ImageDevice

Constructors

Name Description
EmfDevice() Initializes a new instance of the EmfDevice class with default resolution of raster image written to emf.
EmfDevice(PageSize) Initializes a new instance of the EmfDevice class with provided page size, and default resolution for the raster image written to emf (=150)
EmfDevice(Resolution) Initializes a new instance of the EmfDevice class. Resolution for the raster image written to emf, see Resolution class.
EmfDevice(int, int) Initializes a new instance of the EmfDevice class with provided image dimensions, and default resolution for the raster image written to emf (=150)
EmfDevice(PageSize, Resolution) Initializes a new instance of the JpegDevice class with provided page size, and resolution for the raster image written to emf.
EmfDevice(int, int, Resolution) Initializes a new instance of the JpegDevice class with provided image dimensions, and resolution for the raster image written to emf.

Properties

Name Description
CoordinateType { get; set; } Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
FormPresentationMode { get; set; } Gets or sets form presentation mode.
Height { get; } Gets image output height.
RenderingOptions { get; set; } Gets or sets rendering options.
Resolution { get; } Gets image resolution.
Width { get; } Gets image output width.

Methods

Name Description
override Process(Page, Stream) Converts the page into emf and saves it in the output stream.
Process(Page, string) Perfoms some operation on the given page and saves results into the file.

See Also