Packages

 

com.aspose.imaging.fileformats.emf.graphics

Class EmfRecorderGraphics2D

    • Constructor Detail

      • EmfRecorderGraphics2D

        public EmfRecorderGraphics2D(Rectangle frame,
                                     Size deviceSize,
                                     Size deviceSizeMm)

        Initializes a new instance of the EmfRecorderGraphics2D class.

        Parameters:
        frame - The frame.
        deviceSize - Size of the device.
        deviceSizeMm - The device size mm.
    • Method Detail

      • getBackgroundMode

        public int getBackgroundMode()

        Gets or sets the background mode.

        Returns:
        The background mode.
      • setBackgroundMode

        public void setBackgroundMode(int value)

        Gets or sets the background mode.

        Parameters:
        value - The background mode.
      • endRecording

        public final EmfImage endRecording()

        Ends the recording.

        Returns:
        The result image.