Raster To Text

This command will create text from an image in your drawing generated from commands such as PDF Import, Raster Import, Attach Image, etc. one line at a time. From the OCR (Optical Character Recognition) Options dialog, you have the ability to identify the Background and Text Color of the image being used. The Text Layer and the font Style the text will appear on once converted can also be set here.

Perform Numeric OCR will limit the text recognition to only numeric values. By default, this command attempts to convert to alphabetic characters as well. When dealing with only numeric text, turn this feature on so that no alphabetic characters are accidentally used during the conversion. Use the Match Prefix or Match Suffix to help the recognition when the numbers have an alpha prefix or suffix like "TC 123.4".

The Overwrite Image option will erase the raster text from the image after it has been converted to CAD text.

The Leader Line option draws a leader along with converting the text.

For the OCR Mode, the Standard Mode prompts to pick two points across the raster text for each text to convert. These points define the area of the image to process. The One Click Mode converts the first text like Standard Mode and gets the text size and angle properties from this first text. Then for the additional text to convert, you only need to pick a single point on the text instead of two points. For the Area Search Mode, the first text is again processed the same as Standard Mode and then you window an area and the program looks for other raster text with the same size and angle as the first text.

The Prompt Before Placing Text shows the conversion results in a dialog with a chance to review, edit or cancel.


After clicking OK to the OCR Options dialog, you will be prompted for a "start of strike-line" then "end of strike-line". Pick left to right through the text you want to convert. A Replacement Text dialog will appear. Here you can review the values that the program has converted and change them if needed before accepting them by clicking OK. You will then be prompted to "strike-through" another line of text. Press Enter to end.

Prompts

OCR dialog
Pick start of stike-line or [Options] (Enter to end): pick 1st point
Pick end of stike-line (Enter to end): pick 2nd point
Pick start of stike-line or [Options] (Enter to end): press Enter

Pulldown Menu Location: Raster
Keyboard Command: RASOCR
Prerequisite: An image in the drawing