Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / CopyTo Method
The ViewportLayout that is the destination of the elements copied.
When true the Entities collection is not copied.

In This Topic
    CopyTo Method
    In This Topic
    Copies all items inside control master collections (Entities, Labels, Blocks, Layers, Materials, TextStyles, LineTypes) to the specified ViewportLayout.
    Syntax
    'Declaration
     
    Public Sub CopyTo( _
       ByVal destination As ViewportLayout, _
       Optional ByVal skipEntities As Boolean _
    ) 
    public void CopyTo( 
       ViewportLayout destination,
       bool skipEntities
    )

    Parameters

    destination
    The ViewportLayout that is the destination of the elements copied.
    skipEntities
    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 ViewportLayout.
    See Also