CADability dotNET
Constructs a ne GeoPointProperty which communicates with the owner of the GeoPoint via reflection (and not via events). The ObjectWithPoint and PropertyName specify an object and a property of that object to get and set the GeoPoint. PropertyName must be a public property and provide both get and set access. The name is case sensitive. There is no need to provide methods for the events SetGeoPointEvent and GetGeoPointEvent.

Namespace: CADability.UserInterface
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public GeoPointProperty(
	Object ObjectWithPoint,
	string PropertyName,
	string resourceId,
	IFrame Frame,
	bool autoModifyWithMouse
)
Visual Basic
Public Sub New ( _
	ObjectWithPoint As Object, _
	PropertyName As String, _
	resourceId As String, _
	Frame As IFrame, _
	autoModifyWithMouse As Boolean _
)
Visual C++
public:
GeoPointProperty(
	Object^ ObjectWithPoint, 
	String^ PropertyName, 
	String^ resourceId, 
	IFrame^ Frame, 
	bool autoModifyWithMouse
)

Parameters

ObjectWithPoint
Type: System..::..Object
object, whicht holds the GeoPoint
PropertyName
Type: System..::..String
name of the property to access the GeoPoint
resourceId
Type: System..::..String
see resourceId
Frame
Type: CADability..::..IFrame
the frame context of this object
autoModifyWithMouse
Type: System..::..Boolean
true: will provide an Action for user interactive modification, false: fire a ModifyWithMouseEvent when the user wants to interactively modify the point

See Also