Click or drag to resize

Representation.SetMainOrigin Method

Requests the server to set the server object associated with the given representation object as the main origin of the view associated with this representation.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
public virtual void SetMainOrigin(
	RpObject rpObj,
	bool keepOldOrigin
)

Parameters

rpObj
Type: RW.Server.Component.RpObject
The representation object associated with the requested view origin. If null, the view no longer has a main origin.
keepOldOrigin
Type: System.Boolean
If true, the previous main origin (if any) is kept as the view origin. If false, the previous main origin is removed from the view origins.
Remarks
See the C++ member functions IlsMvView::setMainOrigin() and IlsMvView::getMainOrigin() for details.
See Also