- Posts: 9
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
RadaeePDF API Changes
- Kudryavtsev
- Topic Author
- Offline
- New Member
-
Less
More
IP: 37.112.250.14
4 years 1 day ago #15718
by Kudryavtsev
Replied by Kudryavtsev on topic RadaeePDF API Changes
Ok, I get that but there was no API to change vertical indent before the first page only in ver. 3.53 as well. Am I wrong?
vSetPageGap that I found changes gaps between all pagas.
vSetPageGap that I found changes gaps between all pagas.
IP: 111.196.244.241
4 years 1 day ago #15719
by radaee
Replied by radaee on topic RadaeePDF API Changes
page scrolling is not change from native API, but from viewer classes.
it seems you are decide to use old viewer classes, so this seems can't fixed.
it seems you are decide to use old viewer classes, so this seems can't fixed.
- Kudryavtsev
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
IP: 37.112.250.14
4 years 7 hours ago #15720
by Kudryavtsev
Replied by Kudryavtsev on topic RadaeePDF API Changes
We are taking about the top offset of the document, which can help us to make the full screen preview of the document. It's a grey space between the top of the screen and the first page (we want to use that as space behind toolbar, which can be hidden by click).
Now the top offset before the first page is implemented as immutable indentation (page gap), which is calculated as a half of the indentation between pages. And if we trying to change this value (vSetPageGap), indentations between pages changes too. It's not what we need.
And our question is - do you have any plans to add functionality to change the top offset before the first page only?
We are trying to do this ourselves, and the only way we found is to change PDFLayoutVert class vLayout method by adding needed offset to the "y" variable during initialisation. But that seems like a bad idea for the future updates of your library
Now the top offset before the first page is implemented as immutable indentation (page gap), which is calculated as a half of the indentation between pages. And if we trying to change this value (vSetPageGap), indentations between pages changes too. It's not what we need.
And our question is - do you have any plans to add functionality to change the top offset before the first page only?
We are trying to do this ourselves, and the only way we found is to change PDFLayoutVert class vLayout method by adding needed offset to the "y" variable during initialisation. But that seems like a bad idea for the future updates of your library
IP: 111.196.244.241
3 years 11 months ago #15721
by radaee
Replied by radaee on topic RadaeePDF API Changes
about extra space of top gap to document.
you can modify PDFLayoutVert.vLayout()
in last demo, line 25:
int y = m_page_gap>>1;
change to:
int y = (m_page_gap>>1) + toolbar_height;
if you the toolbar layout height is calcuted as "dp" instead of "px", you may need convert dp to px values.
you can modify PDFLayoutVert.vLayout()
in last demo, line 25:
int y = m_page_gap>>1;
change to:
int y = (m_page_gap>>1) + toolbar_height;
if you the toolbar layout height is calcuted as "dp" instead of "px", you may need convert dp to px values.
- Kudryavtsev
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
IP: 37.145.189.7
3 years 11 months ago #15724
by Kudryavtsev
Replied by Kudryavtsev on topic RadaeePDF API Changes
Thanks. As we started the update from ver. 3.53 to ver. 3.65.8 we faced one more issue. Ver. 3.65.8 shows watermarks as if it doesn't have license. But we have it and ver 3.53 worked fine. Since the function Global.Init was changed and now we don't send license data as arguments of function, we initialize mCompany, mEmail, mKey before calling Global.Init
Is that right? Any suggestions?
Is that right? Any suggestions?
IP: 37.160.21.99
3 years 11 months ago #15725
by support
Replied by support on topic RadaeePDF API Changes
Last 3.65.x cleaned up the version type numbering.
May you check the code, please?
Standard = 1
Professional = 2
Premium = 3
May you check the code, please?
Standard = 1
Professional = 2
Premium = 3
Time to create page: 0.370 seconds