Symbols with labels
is it possible to create symbols with the objectID inside. For example take a circle and the number inside is the number of the objectID.
Thanks for your tips and help!
Mapping Center Answer:
The ObjectID can be used as a label for any symbols (so the label is on top of the symbol). In the Labels tab on the Layer Properties dialog, select ObjectID as the Label Field. Click the Placement Properties and then select 'Place label on top of the point' on the Placement tab. You can, of course, manipulate the text font, color, size and so on.
It's a little more work to place the label inside the symbol itself. From the Labels tab of the Layer Properties dialog, click Symbol and select a symbol that is nearly what you want (e.g., State Route HWY or Block Number) in the Symbol Selector dialog. Alternatively, from Label Manager, click the label class, and click Symbol and then select a symbol that is nearly what you want in the Symbol Selector dialog.
Click Edit Symbol.
Click the Advanced Text tab in the Editor dialog, click Properties under the Text Background option (which should be checked ON), click Symbol on the Marker Text Background tab, click Edit Symbol in the Symbol Selector and create the symbol that you want the text to appear within. This will often be a multi-layer symbol with a slightly larger symbol as the bottom layer in order to create a "casing" around the shape that is chosen for the inside of the symbol.
Once you have created the symbol that you want the text to appear within, click OK on the Symbol Property Editor dialog, click OK on the Symbol Selector dialog, decide if you want the option to "Scale marker to fit text" on the Marker Text Background tab and then click OK on this dialog, click OK on the editor dialog, and click OK on the Symbol Selector dialog.
If you have text that varies in the number of characters, the size of the background symbol will resize if you have chosen the option to scale the marker to fit the text. If you want more control over this, check out the blog entry on how to use highway shields of varying widths (Using Highway Shields of Varying Widths). In this we explain how you can create a new symbol for each label with a different character length.
If you would like to post a comment, please login.