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); }
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; }