PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderShapeBase Class / AssignFrom Method / AssignFrom(RenderObject,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
The source object to copy properties from.
Indicates whether the C1.C1Preview.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. Calls the base RenderObject.AssignFrom method. If source is a RenderShapeBase, also copies RenderShapeBase-specific properties.
    Syntax
    'Declaration
     
    Public Overloads Overrides 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 override 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 C1.C1Preview.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