PDFXResolution example for C++ Builder

{
//This example does the following:
// 1- Changes the horizontal and vertical PDF resolutions to 150 dpi.
// 2- Sets the pixel depth to 8.
// 3- Disables both font and graphics anti-aliasing.
// 4- Forces the PDF module to use it's own installed fonts.
// 5- Loads a PDF file using the new settings.
//Set horizontal resolution
   LEAD1->PDFXResolution = 150;
//Set vertical resolution
   LEAD1->PDFYResolution = 150;
//Set Display depth
   LEAD1->PDFDisplayDepth = 8;
// No font anti-aliasing
   LEAD1->PDFTextAlpha = 1;
// No graphics anti-aliasing
   LEAD1->PDFGraphicsAlpha = 1;
// Use fonts installed by the PDF module
   LEAD1->PDFUseLibFonts = True;
//Load the PDF file
   LEAD1->Load ( "C:\test.pdf", 0, 0, 1 );
}