EmfDevice

EmfDevice class

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

The EmfDevice type exposes the following members:

Constructors

NameDescription
EmfDevice()Initializes a new instance of the EmfDevice class with default resolution of raster image written to emf.
EmfDevice(resolution)Initializes a new instance of the EmfDevice class
EmfDevice(width, height)Initializes a new instance of the EmfDevice class
EmfDevice(page_size)Initializes a new instance of the EmfDevice class
EmfDevice(width, height, resolution)Initializes a new instance of the EmfDevice class
EmfDevice(page_size, resolution)Initializes a new instance of the EmfDevice class

Properties

NameDescription
coordinate_typeGets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
rendering_optionsGets or sets rendering options.
form_presentation_modeGets or sets form presentation mode.
resolutionGets image resolution.
widthGets image output width.
heightGets image output height.

Methods

NameDescription
process(page, output)Converts the page into emf and saves it in the output stream.
process(page, output_file_name)Converts the page into emf and saves it in the output stream.

See Also