ImageGear .NET v25.0 - Updated
CanCreateMark Method (ImGearARTFormsMarkController)




ImageGear.Art.Forms Assembly > ImageGear.ART.Forms Namespace > ImGearARTFormsMarkController Class : CanCreateMark Method
Point already entered by user.
Data associated with create action.
Checks if a new mark can be created.
Syntax
'Declaration
 
Public Overridable Function CanCreateMark( _
   ByVal points As IEnumerable(Of ImGearPoint), _
   ByVal createData As ImGearARTFormsCreateMarkData _
) As Boolean
'Usage
 
Dim instance As ImGearARTFormsMarkController
Dim points As IEnumerable(Of ImGearPoint)
Dim createData As ImGearARTFormsCreateMarkData
Dim value As Boolean
 
value = instance.CanCreateMark(points, createData)
public virtual bool CanCreateMark( 
   IEnumerable<ImGearPoint> points,
   ImGearARTFormsCreateMarkData createData
)
public: virtual bool CanCreateMark( 
   IEnumerable<ImGearPoint>* points,
   ImGearARTFormsCreateMarkData* createData
) 
public:
virtual bool CanCreateMark( 
   IEnumerable<ImGearPoint>^ points,
   ImGearARTFormsCreateMarkData^ createData
) 

Parameters

points
Point already entered by user.
createData
Data associated with create action.

Return Value

True if mark can be created using given points and creation data.
Remarks
Annotator calls this method to determine if new mark can be created from the given set of points. For example, all rectangular marks can be created by two points, but Protractor requires 3 points, and polyline needs double-click to be created.
See Also

Reference

ImGearARTFormsMarkController Class
ImGearARTFormsMarkController Members