PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderObject Class / AssignFrom Method / AssignFrom(RenderObject,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
The source object to copy properties from.
Indicates whether the DataBinding property should be copied.
Indicates whether the elements of the Children collection should be copied.
Indicates whether the elements of the Anchors collection should be copied.
Indicates whether the Hyperlink property should be copied.
Indicates whether the Name property should be copied.
Indicates whether the Style property should be copied.

In This Topic
    AssignFrom(RenderObject,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
    In This Topic
    Assigns (copies) properties from another RenderObject to the current object. The list of fragments (the Fragments property) is neither copied nor changed. Properties UserData, PageNumberingChange are copied by reference. The Name property is not copied.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub AssignFrom( _
       ByVal source As RenderObject, _
       ByVal assignDataBinding As Boolean, _
       ByVal assignChildren As Boolean, _
       ByVal assignAnchors As Boolean, _
       ByVal assignHyperlink As Boolean, _
       ByVal assignName As Boolean, _
       ByVal assignStyle As Boolean _
    ) 
    public virtual void AssignFrom( 
       RenderObject source,
       bool assignDataBinding,
       bool assignChildren,
       bool assignAnchors,
       bool assignHyperlink,
       bool assignName,
       bool assignStyle
    )

    Parameters

    source
    The source object to copy properties from.
    assignDataBinding
    Indicates whether the DataBinding property should be copied.
    assignChildren
    Indicates whether the elements of the Children collection should be copied.
    assignAnchors
    Indicates whether the elements of the Anchors collection should be copied.
    assignHyperlink
    Indicates whether the Hyperlink property should be copied.
    assignName
    Indicates whether the Name property should be copied.
    assignStyle
    Indicates whether the Style property should be copied.
    See Also