Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadRasterImageDef



  • public class CadRasterImageDef
    extends CadBaseObject

    The Cad aster image definition object.

    • Constructor Detail

      • CadRasterImageDef

        public CadRasterImageDef(String fileNameOfImage,
                                 int imageSizeU,
                                 int imageSizeV)

        Initializes a new instance of the CadRasterImageDef class.

        Parameters:
        fileNameOfImage - File name of image.
        imageSizeU - Image size in pixels. DXF: U value.
        imageSizeV - Image size in pixels. DXF: V value.
        Throws:
        com.aspose.ms.System.ArgumentException - Thrown when fileNameOfImage is null or empty
        com.aspose.ms.System.ArgumentOutOfRangeException - Thrown when imageSizeU or imageSizeV is less or equal than 0
    • Method Detail

      • getImageIsLoadedFlag

        public final short getImageIsLoadedFlag()

        Gets or sets the image is loaded flag.

        Returns:
        The image is loaded flag.
      • setImageIsLoadedFlag

        public final void setImageIsLoadedFlag(short value)

        Gets or sets the image is loaded flag.

        Parameters:
        value - The image is loaded flag.
      • getFileName

        public final String getFileName()

        Gets or sets name of a file.

      • setFileName

        public final void setFileName(String value)

        Gets or sets name of a file.

      • getClassVersion

        public final int getClassVersion()

        Gets or sets the class version.

        Returns:
        The class version.
      • setClassVersion

        public final void setClassVersion(int value)

        Gets or sets the class version.

        Parameters:
        value - The class version.
      • getResolutionUnits

        public final short getResolutionUnits()

        Gets or sets resolution units.

      • setResolutionUnits

        public final void setResolutionUnits(short value)

        Gets or sets resolution units.

      • getImageSizeU

        public final double getImageSizeU()

        Gets or sets image size U.

      • setImageSizeU

        public final void setImageSizeU(double value)

        Gets or sets image size U.

      • getImageSizeV

        public final double getImageSizeV()

        Gets or sets image size V.

      • setImageSizeV

        public final void setImageSizeV(double value)

        Gets or sets image size V.

      • getDefaultSize1PixelU

        public final Double getDefaultSize1PixelU()

        Gets or sets default size on one pixel U.

      • setDefaultSize1PixelU

        public final void setDefaultSize1PixelU(Double value)

        Gets or sets default size on one pixel U.

      • getDefaultSize1PixelV

        public final Double getDefaultSize1PixelV()

        Gets or sets default size on one pixel V.

      • setDefaultSize1PixelV

        public final void setDefaultSize1PixelV(Double value)

        Gets or sets default size on one pixel V.