Environment.CopyTo Method

Copies all items inside control master collections (Entities, devDept.Eyeshot.Labels, Blocks, Layers, Materials, TextStyles, LineTypes) to the specified Environment control.
Public Overridable Sub CopyTo( _ 
ByVal destination As Environment, _ 
Optional ByVal skipEntities As Boolean = false _ 
)
This language is not supported or no code example is available.
public virtual void CopyTo( 
Environment destination
bool skipEntities = false 
)
This language is not supported or no code example is available.

Parameters

destination
Environment

The Environment control that is the destination of the elements copied.

skipEntities
bool

When true the Entities collection is not copied.

Remarks
 
If the Viewports collection is empty then a new Viewport is added to it. You need to call Invalidate to see the effect of this command in the destination Environment control.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition