PrinterScaleHeight Example for C++ Builder
long h_dc;
ShowMessage("Width: " + IntToStr((int)LEADRasterView1->PrinterScaleWidth)
+ " Height: " + IntToStr((int)LEADRasterView1->PrinterScaleHeight));
h_dc= LEADRasterView1->PrintStart ();
//print 1/4 of the printable region
LEADRasterView1->Render (h_dc, 0, 0,
LEADRasterView1->PrinterScaleWidth / 4,
LEADRasterView1->PrinterScaleHeight / 4);
LEADRasterView1->PrintEnd (h_dc);