S. No |
Requirement |
Response |
1. |
I want to create a Barcode Node (like BitmapTool) base Node object (can edit and save properties like barcode type, barcode text...) but i do not know ho to get started. Which functions should i override ? How to re-generate barcode while drawing by mouse (drawing mode) ? |
We have support for bitmapNode. This node will be helpful if your requirement is to host barcode image after updating the properties of bar code.
We can also create a simple sample based on your confirmation on the requirement. |
2. |
How to re-generate barcode while resizing by mouse (editing mode) ? How to generate barcode when changing Text value? Which event do i should use to implement the task ? |
We have event to notify the Node resizing, dragging and rotating. Please find the help documentation link as below.
|
Hi Hoa,Please find the response to your queries as below.
S. No Requirement Response 1. I want to create a Barcode Node (like BitmapTool) base Node object (can edit and save properties like barcode type, barcode text...) but i do not know ho to get started. Which functions should i override ? How to re-generate barcode while drawing by mouse (drawing mode) ? We have support for bitmapNode. This node will be helpful if your requirement is to host barcode image after updating the properties of bar code.We can also create a simple sample based on your confirmation on the requirement. 2. How to re-generate barcode while resizing by mouse (editing mode) ? How to generate barcode when changing Text value? Which event do i should use to implement the task ? We have event to notify the Node resizing, dragging and rotating. Please find the help documentation link as below.Regards,Ramya T
private void EventSink_SizeChanged(SizeChangedEventArgs evtArgs) { Bitmap image = new Bitmap("..//..//male.jpg"); (evtArgs.NodeAffected as BitmapNode).Image = image; } |