Posted 25 January 2022, 4:17 pm EST
Thank you Nitin. If this helps, I’ll explain my use case.
A book may be displayed in single-page mode. While in this display mode, I can take a book and center it horizontally in a window. When the end-user turns the opening page, I want to switch the book to two-page mode and display the book once again centered horizontally in a window. As the visual display of the book changes from single-page display mode to dual-page display mode, I want a smooth animated transition between these two display modes, all the while keeping the book centered horizontally.
The same would be true in reverse; going from dual page to single page (from page 2 to page 1)
My thinking was to tie in animation to the percent of how much the opening page has opened; in other words the percent of animated transition from single to dual would be based on the percentage that the page has opened from page 1 to page 2.
If there is another way this may be accomplished, I am all ears; or if this is something that could be built into the book control itself, that would be even better.
Thanks, Mike