EAN13.cpp
// returns the size in 100th of millimeters

returns the size in 100th of millimeters
returns the size in 100th of millimeters
CSize CEAN13::GetSize ()
{
	int nModuleSize = (int) (MODULE * 100);
	int nTop = 1;	
	int nLeft = 7;	
	int nRight = 7;	
	int nRightAdd = 0;
	if (m_nAddonType == 2)
		nRightAdd = 25;
	if (m_nAddonType == 5)
		nRightAdd = 52;
	return CSize ((nLeft + 95 + nRight + nRightAdd) * nModuleSize, (int) (EAN13_HEIGHT * 100 + (nTop + 9) * nModuleSize));
}
CSize CEAN13 :: GetSize ( ) { int nModuleSize = ( int ) ( MODULE * 100 ) ; int nTop = 1 ; int nLeft = 7 ; int nRight = 7 ; int nRightAdd = 0 ; if ( m_nAddonType == 2 ) nRightAdd = 25 ; if ( m_nAddonType == 5 ) nRightAdd = 52 ; return CSize ( ( nLeft + 95 + nRight + nRightAdd ) * nModuleSize , ( int ) ( EAN13_HEIGHT * 100 + ( nTop + 9 ) * nModuleSize ) ) ; }
returns the size in 100th of millimeters
returns the size in 100th of millimeters
// nTop margin
 // EAN-13 - 11, EAN-8 - 7
 // always 7				
