PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderC1Printable 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 RenderObject.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 RenderArea.AssignFrom method. If source is a RenderC1Printable, also copies RenderC1Printable-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 RenderObject.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