Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Peter #1
default view question.
Hi
I am trying see what the initial view settings are.
that is to say I want to see if the Magnification is set to default and
the page layout is set to default
From my reading of the SDK the call to get the magnification setting is
AVPageViewGetZoomType
and the call to get the page layout is
AVAppGetPreference
Is this right?
The reason I ask is when I tried this (see code below ) and I was
testing it I changed the magnification to "Fit in Window",
"Fit Width".. etc and then back to default
The results were not consistent and when I changed it back to
default it seemed to match "Fit Width"
Is "Fit Width" the same as default?
For the Page Layout is default the same as continuous?
Would it be better to use the AVDocGetViewDef call?
any help to clarify this would be nice.
Thanks
Peter
STDMETHODIMP MY_Analyzer::get_Magnification(LONG* pVal)
{
AVPageView o_pgView;
AVZoomType o_ZoomType;
DURING
if (m_avDoc != NULL)
{
o_pgView = AVDocGetPageView(m_avDoc);
o_ZoomType = AVPageViewGetZoomType(o_pgView);
*pVal = (long)o_ZoomType;
}
else
{
*pVal = -1;
}
HANDLER
ShowError();
END_HANDLER
return S_OK;
}
STDMETHODIMP MY_Analyzer::get_PageLayout(LONG* pVal)
{
AVPrefsType preference;
DURING
AVAppGetPreference(preference);
*pVal = (long) preference;
HANDLER
ShowError();
END_HANDLER
return S_OK;
}
Peter Guest
-
Default Bookmark view
AFAICT this simply doesn't work correctly for Mac or Windows versions. As I understand it any new Bookmark should take on the currently set view... -
Inherit Zoom as default view for bookmarks
How do I make "Inherit zoom" the default view for new bookmarks and hyperlinks created manually? -- Andreas Völp Psy Consult Scientific... -
Changing Default Detail View
I need to change the default Detail view in Windows Vista Feb06 CTP. What I mean is, for example, I do not want the Keyword column to be displayed... -
flashpaper default view
has anyone found a way to default the flashpaper view to full page as opposed to the zoom forcing max view page width? (i hope that makes sense.) I... -
Flash Player: Change Default View Setting to 100%
Hi everyone. When publishing a Flash movie, is there any way to configure Flash so that when you open a .SWF in the Flash Player, the VIEW mode...



Reply With Quote

