Next: , Previous: CADExportDXF, Up: CAD areas and methods


6.68 CADExportRasterImage

IO Parameter Type Description
in theCADArea longint Area ID
in theMacVolumeRef integer
in theMacDirID longint
in theDosDirPath Str255
in theFileName Str255
in theBackgroundColor longint
in theColorBitDepth integer Either kCADPixelTypeColor (recommended) or kCADPixelTypeBW. Not all raster formats support kCADPixelTypeBW
in thePixelWidth integer A value between kCADRasterPixelWidthMin and kCADRasterPixelWidthMax
in thePixelHeight integer A value between kCADRasterPixelHeightMin and kCADRasterPixelHeightMax
in theRasterFormat longint A CAD raster image format constant. The recommended format is kCADRasterPNG (unless the CAD drawing contains photos)
in theCompressQuality longint A CAD raster compression quality constant or any value between 0 and 100. Used only with formats kCADRasterJPEG and kCADRasterJPEG2000
out function result OSErr Error result code, also see Error handling