Hello again
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?
Thanks,
Andy
Centering a ScaleRichView document...
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: