Serialize GoDocument properties

Through Go.XML, I can serialize document root element and child items. I am wondering is there a convenient way to seralize the document properties such as DocScale, DocPosition… into the xml generated by the GoXMLWriter ?

thanks

Well, Scale and Position are both GoView properties. You can look at StateCharter to see how “doc level” items are stored.

But you need to decide if one user zooms way in and saves a document if that affects what a different user opening that document later sees... or are those user-specific things stored elsewhere.
in XmlTransformer, there is (WriteAttrVal) support for string, int, float, bool, PointF, SizeF, RectangleF, Color, Type, int[], float[], PointF[] and Color[].