Lesson 10. Search and replace
Brief description:
During this lesson you will
learn how to search for raster objects and replace them with other raster
and vector objects, and also how to search for vector objects and replace
them with other vector objects.
For detailed information on these subjects see the Search and Replace section of
the Quick Start guide.
How to search for vector objects and replace them with
other vector objects
Choose the Open command
from the File menu, and open the Search_Replace_V_V.cws
file from the Lesson_10 folder.
Our task is to vectorize this image,
and then to replace the specified vector objects with other ones.
- Convert the raster image to vectors using the vectorization
procedure. This document already contains pre-defined vectorization
parameters, so you only need to choose Raster2Vector from
the Convert menu.
|

- Select an object to replace using the Inside
Window selection method.
|
 |
- Choose Search and Replace from
the Edit menu.
- From the Find What list of the
Search and Replace dialog, choose Search Selection.
|
|

- Select an object, with which you want to replace
the original one, using Select Auto.
|
 |
-
From the Replace With
list of the Search and Replace dialog, choose Replace
Selection.
- Select Erase– to erase original
objects.
- Set the Accuracy slider to the
middle position.
- Press the Replace All button.
|
 |
| |
|
|
|
|
|
After vectorizing raster image
|
After search and replace
|
How to search for raster objects and replace them with
vector objects
Choose Open from the File
menu, and then open the Search_Replace_R_V.cws file
from the Lesson_10 folder.
Our task is to replace specified raster
objects with vector ones.
In the top-left corner there are objects
specified for search and replace.
|

- Select a raster object, which you want to replace
using the Inside Window selection method.
|
 |
-
Choose Search and Replace
from the Edit menu.
-
From the Find What
list of the Search and Replace dialog, choose Search
Raster.
|
- Select a vector object, with which you want
to replace the original raster object (do not change the parameters
set for the previous selection).
|
 |
- From the Replace With list of
the Search And Replace dialog, choose Replace
Selection.
- Select Erase – to delete the
original objects.
- Set the Accuracy slider to the
middle pPress the Replace All button.osition.
- Press the Replace All button.
|
 |
|
|
|
|
After vectorizing raster image
|
After search and replace
|
|