Exemplo n.º 1
0
        public void BeginRegion(PrintRegionType regionType)
        {
            RegionSettings settings = _appSettings.GetRegionSetting(regionType);

            _currentRegion = new RegionNode(regionType, settings);

            // Add the default padding values.
            _currentYPos += settings.PaddingTop + settings.PaddingBottom;

            _children.Add(_currentRegion);
        }
Exemplo n.º 2
0
 public void EndRegion()
 {
     _currentRegion = null;
 }