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

teddysilva
Posts: 1
Joined: Thu Nov 09, 2023 8:45 am

Re: GDViewer PRO4S ActiveX PDF document Rendering Issue

Post by teddysilva » Thu Nov 09, 2023 8:50 am

Hello, I think you should check the PDF Rendering Settings. Ensure that the rendering settings of the GdViewerPro4s control are properly configured to handle black and white PDF documents. You can refer to the control's documentation or API reference for specific settings related to color rendering.

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest