CadRasterImageDef constructor

init

Initializes a new instance of the CadRasterImageDef class.

def __init__(self, file_name_of_image, image_size_u, image_size_v):
    ...
ParameterTypeDescription
file_name_of_imagestrFile name of image.
image_size_uintImage size in pixels. DXF: U value.
image_size_vintImage size in pixels. DXF: V value.

Exceptions

ExceptionDescription
ArgumentExceptionThrown when fileNameOfImage is null or empty
ArgumentOutOfRangeExceptionThrown when imageSizeU or imageSizeV is less or equal than 0

See Also