Diagram.documentBounds:

Diagram.contentAlignment:



Diagram.position:

Diagram.scale:

Diagram.fixedBounds (x, y, width, height):

Diagram.padding (top, right, bottom, left):

Diagram.autoScale:



(but no greater than CommandHandler.defaultScale)

A Diagram's Diagram.contentAlignment property determines how parts are positioned when the Diagram.viewportBounds width or height is different than the Diagram.documentBounds width or height.