Hello,
we are using PagesView.DefaultZoom to set the default zoom as a percentage or 0 for "Fit width". We are still struggling to set "Fit page" as the default zoom.
Is there any way to set "Fit page" as the default zoom
Regards,
AnKeilha
Setting Default Zoom to "Fit Page" SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Setting Default Zoom to "Fit Page" SOLVED
Hello AnKeilha,
Here's the enum of flags that are used:
Basically, you can take the https://sdkhelp.pdf-xchange.com/vi ... V_ZoomMode flags and add the minus sign to get the needed flag.
Cheers,
Alex
Here's the enum of flags that are used:
Code: Select all
{
docMagnification_Visible = -PXV_ZoomMode_FitVisible,
docMagnification_Page = -PXV_ZoomMode_FitPage,
docMagnification_Width = -PXV_ZoomMode_FitWidth,
docMagnification_Height = -PXV_ZoomMode_FitHeight,
docMagnification_Actual = -PXV_ZoomMode_Actual,
docMagnification_Automatic = 0,
};
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ