ImageGear .NET
CanCreateMark Method (ImGearARTFormsRectangleController)




Point already entered by user.
Data associated with create action.
Checks if a new mark can be created.
Syntax
'Declaration
 
Public Overrides Function CanCreateMark( _
   ByVal points As IEnumerable(Of ImGearPoint), _
   ByVal createData As ImGearARTFormsCreateMarkData _
) As Boolean
'Usage
 
Dim instance As ImGearARTFormsRectangleController
Dim points As IEnumerable(Of ImGearPoint)
Dim createData As ImGearARTFormsCreateMarkData
Dim value As Boolean
 
value = instance.CanCreateMark(points, createData)
public override bool CanCreateMark( 
   IEnumerable<ImGearPoint> points,
   ImGearARTFormsCreateMarkData createData
)
public: bool CanCreateMark( 
   IEnumerable<ImGearPoint>* points,
   ImGearARTFormsCreateMarkData* createData
) override 
public:
bool CanCreateMark( 
   IEnumerable<ImGearPoint>^ points,
   ImGearARTFormsCreateMarkData^ createData
) override 

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

ImGearARTFormsRectangleController Class
ImGearARTFormsRectangleController Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback