When a .cit file is opened within MicroStation it says that it is read-only and that it is a Raster Attachment. Is there a way to extract text from it through code? Within MicroStation, it seems that the layers have been flattened and no longer useable.
Or is there another Bentley product that opens this natively?
Hi Mervin,
Mervin Bowman said:When a .cit file is opened within MicroStation it says that it is read-only
cit is raster file, so MicroStation attach it to be displayed, but not edited. To edit raster files, you need Bentley Descartes.
Mervin Bowman said:it seems that the layers have been flattened and no longer useable.
I do not understand what do you mean by this. Rasters are rasters, how do you want to use them in other way than to display them?
Mervin Bowman said:Is there a way to extract text from it through code?
As Bob mentioned, you probably ask about OCR functionality. It's Bentley Descartes feature, at least as a user tool (maybe also as API, but I am not sure).
Of course you can implement own OCR functionality, but it does not make big sense. Maybe to use some 3rd partly library in your code?
But I am not aware of possibility to access raster data from C#, but I think it's possible in C++ (I remember I did it long time ago in one V8i application ;-).
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan Šlegr said:Rasters are rasters
Yes, now that I am having a conversation about this I realize the obvious. Thanks for the help.