ImageDefinition Constructor (String, String, Int32, Double, Int32, Double, ImageResolutionUnits) |
Namespace: netDxf.Objects
public ImageDefinition( string name, string file, int width, double horizontalResolution, int height, double verticalResolution, ImageResolutionUnits units )
The name assigned to the image definition must be unique.
This is a generic constructor for all image formats supported by AutoCAD, note that not all AutoCAD versions support the same image formats.
Note (this is from the ACAD docs): AutoCAD 2000, AutoCAD LT 2000, and later releases do not support LZW-compressed TIFF files,
with the exception of English language versions sold in the US and Canada.
If you have TIFF files that were created using LZW compression and want to insert them into a drawing
you must save the TIFF files with LZW compression disabled.