Example #1
0
        public PageSizeSet GetPageSizeSet(int resolution)
        {
            var set = new PageSizeSet();

            ForEach(layout => set.Add(layout.GetPageSize(resolution)));
            return(set);
        }
Example #2
0
        void FillPageSizeMenu(LayoutSet layoutSet, int resolution)
        {
            (_size.Model as ListStore).Clear();

            _sizes = layoutSet.GetPageSizeSet(resolution);
            _sizes.ForEach(size => AppendPageSizeEntry(size));
            _size.Active = 0;
        }
Example #3
0
 public PageSizeSet GetPageSizeSet(int resolution)
 {
   var set = new PageSizeSet();
   ForEach(layout => set.Add(layout.GetPageSize(resolution)));
   return set;
 }
Example #4
0
        void FillPageSizeMenu(LayoutSet layoutSet, int resolution)
        {
            (_size.Model as ListStore).Clear();

              _sizes = layoutSet.GetPageSizeSet(resolution);
              _sizes.ForEach(size => AppendPageSizeEntry(size));
              _size.Active = 0;
        }