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

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

    Parameters

    source
    The source object to copy properties from.
    assignDataBinding
    Indicates whether the RenderObject.DataBinding property should be copied.
    assignChildren
    Indicates whether the elements of the RenderObject.Children collection should be copied.
    See Also