Aspose::Pdf::Devices::EmfDevice class

EmfDevice class

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

class EmfDevice : public Aspose::Pdf::Devices::ImageDevice

Methods

MethodDescription
EmfDevice()Initializes a new instance of the EmfDevice class with default resolution of raster image written to emf.
EmfDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the EmfDevice class.
EmfDevice(int32_t, int32_t)Initializes a new instance of the EmfDevice class with provided image dimensions, and default resolution for the raster image written to emf (=150)
EmfDevice(System::SharedPtr<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(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided image dimensions, and resolution for the raster image written to emf.
EmfDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided page size, and resolution for the raster image written to emf.
get_CoordinateType() constGets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
get_FormPresentationMode() constGets form presentation mode.
get_Height() constGets image output height.
get_RenderingOptions() constGets rendering options.
get_Resolution() constGets image resolution.
get_Width() constGets image output width.
ImageDevice()Abstract initializer for ImageDevice descendants, set resolution to 150x150.
ImageDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Abstract initializer for ImageDevice descendants.
ImageDevice(int32_t, int32_t)Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150).
ImageDevice(System::SharedPtr<PageSize>)Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150).
ImageDevice(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided image dimensions and resolution.
ImageDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided image dimensions and resolution.
Process(System::SharedPtr<Page>, System::SharedPtr<System::IO::Stream>) overrideConverts the page into emf and saves it in the output stream.
Process(System::SharedPtr<Page>, System::String)Perfoms some operation on the given page and saves results into the file.
set_CoordinateType(PageCoordinateType)Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
set_FormPresentationMode(Aspose::Pdf::Devices::FormPresentationMode)Sets form presentation mode.
set_RenderingOptions(System::SharedPtr<Aspose::Pdf::RenderingOptions>)Sets rendering options.

See Also