[]
        
(Showing Draft Content)

C1.C1Preview.RenderObject.AssignFrom

AssignFrom Method

AssignFrom(RenderObject, bool, bool)

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.

Declaration
public void AssignFrom(RenderObject source, bool assignDataBinding, bool assignChildren)
Public Sub AssignFrom(source As RenderObject, assignDataBinding As Boolean, assignChildren As Boolean)
Parameters
Type Name Description
RenderObject source

The source object to copy properties from.

bool assignDataBinding

Indicates whether the DataBinding property should be copied.

bool assignChildren

Indicates whether the elements of the Children collection should be copied.

AssignFrom(RenderObject, bool, bool, bool, bool)

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.

Declaration
public void AssignFrom(RenderObject source, bool assignDataBinding, bool assignChildren, bool assignAnchors, bool assignHyperlink)
Public Sub AssignFrom(source As RenderObject, assignDataBinding As Boolean, assignChildren As Boolean, assignAnchors As Boolean, assignHyperlink As Boolean)
Parameters
Type Name Description
RenderObject source

The source object to copy properties from.

bool assignDataBinding

Indicates whether the DataBinding property should be copied.

bool assignChildren

Indicates whether the elements of the Children collection should be copied.

bool assignAnchors

Indicates whether the elements of the Anchors collection should be copied.

bool assignHyperlink

Indicates whether the Hyperlink property should be copied.

AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)

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.

Declaration
public virtual void AssignFrom(RenderObject source, bool assignDataBinding, bool assignChildren, bool assignAnchors, bool assignHyperlink, bool assignName, bool assignStyle)
Public Overridable Sub AssignFrom(source As RenderObject, assignDataBinding As Boolean, assignChildren As Boolean, assignAnchors As Boolean, assignHyperlink As Boolean, assignName As Boolean, assignStyle As Boolean)
Parameters
Type Name Description
RenderObject source

The source object to copy properties from.

bool assignDataBinding

Indicates whether the DataBinding property should be copied.

bool assignChildren

Indicates whether the elements of the Children collection should be copied.

bool assignAnchors

Indicates whether the elements of the Anchors collection should be copied.

bool assignHyperlink

Indicates whether the Hyperlink property should be copied.

bool assignName

Indicates whether the Name property should be copied.

bool assignStyle

Indicates whether the Style property should be copied.

AssignFrom(RenderObject)

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.

Declaration
public void AssignFrom(RenderObject source)
Public Sub AssignFrom(source As RenderObject)
Parameters
Type Name Description
RenderObject source

The source object to copy properties from.