Image Frame Options Example for C++ 5.0 and later

void TestImageFrameOptions(ILEADRasterTwain * pRasterTwain)
{
   ItwFrame * pFrame;
   pRasterTwain->get_ImageFrame (&pFrame);

   pFrame->LeftMargin = 0;
   pFrame->TopMargin = 0;
   pFrame->RightMargin = 8.5;
   pFrame->BottomMargin = 11;
   pRasterTwain->put_ImageFrame (pFrame);
}