Query |
Response |
Sorry for the delay it took me a while to create a sample to satisfy your questions Inside the attached folder you could find also the database (sqlite) which default path is at C: (you could change this) So I tried to simplify it as much as possible. The user creates a new label adds a richTextNode and save it to the DB Then loads the label ->load the node -> but the node is not in the correct dimensions Also I would like to have a document with original dimensions in mm (example 55x65 mm) and dimensions in pixel should be (217x256) We actually multiply the mm x 3.9454 |
Could you please confirm us whether you are converting millimeter to pixel before loading the node? If yes, we have inbuilt support to convert mm to pixel and you need not convert it manually. So please remove the conversion code in your sample. |
Another problem is that the document is moving insede the diagram (check video) Is there something that I could do to stop it? Please let me know if you could suggest anything |
Could you please confirm whether you have enabled the diagram.Model's SizeToContent property? If yes, the model size and position will be updated automatically based on the content.
|