When a map is embedded in a Layout window, any legends you create for the map are also placed in the same Layout window. You can only create one full set of legends for a map. A full set includes one legend for each layer in the map. If there are multiple Legend windows for one map, only frames from the first Legend window created for the map are placed in the layout.
Some of the clauses in the Create Designer Legend statement syntax do not apply when creating a legend frame for a map embedded within a Layout window. The Window Title, and Legend Text Frame clauses are ignored.
If you use the Create Designer Legend statement more than once for the same map in a Layout window, you will see a message stating that the map already contains one or more legends. Use the Add Designer Frame statement instead.