Example #1
0
        public static SectionDS BySection(SectionDS section)
        {
            SectionDS newSection = new SectionDS();

            newSection.LabelName      = section.LabelName;
            newSection.BarSectionType = section.BarSectionType;
            newSection.Width          = section.Width;
            newSection.Thickness      = section.Thickness;
            newSection.Height         = section.Height;

            return(newSection);
        }
Example #2
0
        public static SectionDS BySection(SectionDS section)
        {
            SectionDS newSection = new SectionDS();

            newSection.LabelName = section.LabelName;
            newSection.BarSectionType = section.BarSectionType;
            newSection.Width = section.Width;
            newSection.Thickness = section.Thickness;
            newSection.Height = section.Height;

            return newSection;
        }