GDViewer PRO4S ActiveX PDF document Rendering Issue

Discussions about document viewing.
Post Reply
urpatel
Posts: 1
Joined: Wed Jul 31, 2019 8:51 am

GDViewer PRO4S ActiveX PDF document Rendering Issue

Post by urpatel » 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest