GDViewer PRO4S ActiveX PDF document Rendering Issue
Posted: Wed Jul 31, 2019 3:13 pm
Hi Loic,
I am using GdViewerPro4s OCX contro to display pdf files in my application. I am not able to view black and white PDF documents. I am using below code to view pdf files. I can able to render color pdf documents.
GDViewer1.Clear();
GDViewerPro4s.GDPictureStatus gdPictureStatus = DocumentViewer.DisplayFromFile(strFullPath);
if (gdPictureStatus != GdViewerPro4S.GdPictureStatus.OK)
{
CSystem.ErrorBox("Error Opening the PDF", "Error" + gdPictureStatus.ToString());
return;
}
GDViewer1.ImageAlignment = GdViewerPro4S.ViewerImageAlignment.ImageAlignmentTopLeft;
GDViewer1.SetZoomWidthControl();
Can you help me to resolve this issue?
Thanks,
Urvish
I am using GdViewerPro4s OCX contro to display pdf files in my application. I am not able to view black and white PDF documents. I am using below code to view pdf files. I can able to render color pdf documents.
GDViewer1.Clear();
GDViewerPro4s.GDPictureStatus gdPictureStatus = DocumentViewer.DisplayFromFile(strFullPath);
if (gdPictureStatus != GdViewerPro4S.GdPictureStatus.OK)
{
CSystem.ErrorBox("Error Opening the PDF", "Error" + gdPictureStatus.ToString());
return;
}
GDViewer1.ImageAlignment = GdViewerPro4S.ViewerImageAlignment.ImageAlignmentTopLeft;
GDViewer1.SetZoomWidthControl();
Can you help me to resolve this issue?
Thanks,
Urvish