Is it possible to keep a drawing centered (either vertically or both vertical and horizontally), though zooming/scaling? currently it seems to stay left.
If not an automatic method, I do assume that I can code an event to center on zoom?
As for scrolling, TSRichViewEdit tries to keep unmoved:
- the mouse pointer position (if it is inside its window)
- document at the window center (if the mouse pointer is outside the window)
As for drawing, pages are drawn in an imaginary grid. The maximum count of columns in this page grid is defined in ViewPropoerty.MaxPageColCount (0 means unlimited.
The page is centered in the cell of this imaginary grid.
You can set MaxPageColCount = 1, pages will be always centered horizontally, but there will be not possible to display more than 1 page side to side.
You can also use ViewProperty.FreePosPage and OnGetPagePos event.