PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderImage Class / AssignFrom Method / AssignFrom(RenderObject,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 RenderObject.Hyperlink property should be copied.

In This Topic
    AssignFrom(RenderObject,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 Sub AssignFrom( _
       ByVal source As RenderObject, _
       ByVal assignDataBinding As Boolean, _
       ByVal assignChildren As Boolean, _
       ByVal assignAnchors As Boolean, _
       ByVal assignHyperlink As Boolean _
    ) 
    public void AssignFrom( 
       RenderObject source,
       bool assignDataBinding,
       bool assignChildren,
       bool assignAnchors,
       bool assignHyperlink
    )

    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 RenderObject.Hyperlink property should be copied.
    See Also