How to create custom dimension?

Hello everyone, is it possible to create your own annotation type using RhinoCommon, such as a height annotation, similar to this one? What work needs to be done?


I inherited from Dimension and then referred to the LinearDimension class. I found that there are some methods that are UnsafeNativeMethods. What should I do?
image

哈喽,请问你做出来了吗?我最近我在搞类似的标高样式,感觉用leader可行,但是就是做不出来