Hi,
to be more precise I want to save it in de diagram file and load it back up
Still don't understand. To save the diagram, use SaveToFile, to save to stream, use SaveToStream. It will save all blocks in the diagram. Not sure what do you mean by ".obj of a block".
you got a tdiagramblock.obj part where you can put objects in it. Those are not saved to file. Or am I wrong?
Thanks, I understand now, you mean the Obj property. When it's a public property and it's not supposed to be saved, especially because it's an object, so the purpose is only for runtime. If you want to persist custom block data I suggest you somehow convert your data to a string and use StringData property, that property is persisted with the block.
cool stuff thx!
Hi,
same goes for the tdiagramlinejoin
Correct, StringData property is not made published in those classes. I have added them here, you can just add StringData property to published section.
should have known that.. thx!