Add Rotate for PdfReader

This commit is contained in:
Svetlana Kulikova
2023-09-29 17:57:10 +03:00
parent 9ae8b82589
commit 1879ea36e9
8 changed files with 60 additions and 32 deletions

View File

@ -799,6 +799,12 @@ void CPdfFile::GetPageInfo(int nPageIndex, double* pdWidth, double* pdHeight, do
#endif
m_pInternal->pReader->GetPageInfo(nPageIndex, pdWidth, pdHeight, pdDpiX, pdDpiY);
}
int CPdfFile::GetRotate(int nPageIndex)
{
if (!m_pInternal->pReader)
return 0;
m_pInternal->pReader->GetRotate(nPageIndex);
}
void CPdfFile::DrawPageOnRenderer(IRenderer* pRenderer, int nPageIndex, bool* pBreak)
{
if (!m_pInternal->pReader)