SetOMROptions Example for C++ 5.0 and later
void CSample_COMDlg::OnButton19()
{
pRasterDoc->GetOMROptions ();
if (!pRasterDoc->GetOMRModuleOptions ()->EnableFill)
pRasterDoc->GetOMRModuleOptions ()->EnableFill = TRUE;
if (pRasterDoc->GetOMRModuleOptions ()->Frame != OMRFRAME_YES)
pRasterDoc->GetOMRModuleOptions ()->Frame = OMRFRAME_YES;
if (pRasterDoc->GetOMRModuleOptions ()->Sense != OMRSENSE_NORMAL)
pRasterDoc->GetOMRModuleOptions ()->Sense = OMRSENSE_NORMAL;
pRasterDoc->SetOMROptions ();