public class CadRasterImageDef extends CadBaseObject
The Cad aster image definition object.
Constructor and Description |
---|
CadRasterImageDef(String fileNameOfImage,
int imageSizeU,
int imageSizeV)
Initializes a new instance of the
CadRasterImageDef class. |
Modifier and Type | Method and Description |
---|---|
int |
getClassVersion()
Gets or sets the class version.
|
Double |
getDefaultSize1PixelU()
Gets or sets default size on one pixel U.
|
Double |
getDefaultSize1PixelV()
Gets or sets default size on one pixel V.
|
String |
getFileName()
Gets or sets name of a file.
|
short |
getImageIsLoadedFlag()
Gets or sets the image is loaded flag.
|
double |
getImageSizeU()
Gets or sets image size U.
|
double |
getImageSizeV()
Gets or sets image size V.
|
short |
getResolutionUnits()
Gets or sets resolution units.
|
void |
setClassVersion(int value)
Gets or sets the class version.
|
void |
setDefaultSize1PixelU(Double value)
Gets or sets default size on one pixel U.
|
void |
setDefaultSize1PixelV(Double value)
Gets or sets default size on one pixel V.
|
void |
setFileName(String value)
Gets or sets name of a file.
|
void |
setImageIsLoadedFlag(short value)
Gets or sets the image is loaded flag.
|
void |
setImageSizeU(double value)
Gets or sets image size U.
|
void |
setImageSizeV(double value)
Gets or sets image size V.
|
void |
setResolutionUnits(short value)
Gets or sets resolution units.
|
getChildObjects, getNumreactors, getTypeName, setChildObjects, setNumreactors
getHardOwner, getSoftOwner, isSoftOwnerSet, setHardOwner, setSoftOwner
getApplicationCodesContainer, getAttribute102Values, getAttributes, getEmbeddedObjectsContainer, getObjectHandle, getXdataContainer, setApplicationCodesContainer, setAttribute102Values, setAttributes, setEmbeddedObjectsContainer, setObjectHandle, setXdataContainer
public CadRasterImageDef(String fileNameOfImage, int imageSizeU, int imageSizeV)
Initializes a new instance of the CadRasterImageDef
class.
fileNameOfImage
- File name of image.imageSizeU
- Image size in pixels. DXF: U value.imageSizeV
- Image size in pixels. DXF: V value.com.aspose.ms.System.ArgumentException
- Thrown when fileNameOfImage is null or emptycom.aspose.ms.System.ArgumentOutOfRangeException
- Thrown when imageSizeU or imageSizeV is less or equal than 0public final short getImageIsLoadedFlag()
Gets or sets the image is loaded flag.
public final void setImageIsLoadedFlag(short value)
Gets or sets the image is loaded flag.
value
- The image is loaded flag.public final String getFileName()
Gets or sets name of a file.
public final void setFileName(String value)
Gets or sets name of a file.
public final int getClassVersion()
Gets or sets the class version.
public final void setClassVersion(int value)
Gets or sets the class version.
value
- The class version.public final short getResolutionUnits()
Gets or sets resolution units.
public final void setResolutionUnits(short value)
Gets or sets resolution units.
public final double getImageSizeU()
Gets or sets image size U.
public final void setImageSizeU(double value)
Gets or sets image size U.
public final double getImageSizeV()
Gets or sets image size V.
public final void setImageSizeV(double value)
Gets or sets image size V.
public final Double getDefaultSize1PixelU()
Gets or sets default size on one pixel U.
public final void setDefaultSize1PixelU(Double value)
Gets or sets default size on one pixel U.
public final Double getDefaultSize1PixelV()
Gets or sets default size on one pixel V.
public final void setDefaultSize1PixelV(Double value)
Gets or sets default size on one pixel V.