internal SLBackWall Clone() { var bw = new SLBackWall(ShapeProperties.listThemeColors); bw.Thickness = Thickness; bw.ShapeProperties = ShapeProperties.Clone(); return(bw); }
internal SLSideWall Clone() { var sw = new SLSideWall(ShapeProperties.listThemeColors); sw.Thickness = Thickness; sw.ShapeProperties = ShapeProperties.Clone(); return(sw); }
internal SLFloor Clone() { var f = new SLFloor(ShapeProperties.listThemeColors); f.Thickness = Thickness; f.ShapeProperties = ShapeProperties.Clone(); return(f); }
internal SLLegend Clone() { var l = new SLLegend(ShapeProperties.listThemeColors); l.LegendPosition = LegendPosition; l.Overlay = Overlay; l.ShapeProperties = ShapeProperties.Clone(); return(l); }
internal SLTitle Clone() { var t = new SLTitle(ShapeProperties.listThemeColors); t.Rotation = Rotation; t.Vertical = Vertical; t.Anchor = Anchor; t.AnchorCenter = AnchorCenter; t.rst = rst.Clone(); t.Overlay = Overlay; t.ShapeProperties = ShapeProperties.Clone(); return(t); }
internal SLDataTable Clone() { var dt = new SLDataTable(ShapeProperties.listThemeColors); dt.ShapeProperties = ShapeProperties.Clone(); dt.ShowHorizontalBorder = ShowHorizontalBorder; dt.ShowVerticalBorder = ShowVerticalBorder; dt.ShowOutlineBorder = ShowOutlineBorder; dt.ShowLegendKeys = ShowLegendKeys; if (Font != null) { dt.Font = Font.Clone(); } return(dt); }
internal SLChartOptions Clone() { var co = new SLChartOptions(SeriesLinesShapeProperties.listThemeColors); co.BarDirection = BarDirection; co.BarGrouping = BarGrouping; co.VaryColors = VaryColors; co.iGapWidth = iGapWidth; co.iGapDepth = iGapDepth; co.byOverlap = byOverlap; co.Shape = Shape; co.Grouping = Grouping; co.ShowMarker = ShowMarker; co.Smooth = Smooth; co.iFirstSliceAngle = iFirstSliceAngle; co.byHoleSize = byHoleSize; co.HasSplit = HasSplit; co.SplitType = SplitType; co.SplitPosition = SplitPosition; co.SecondPiePoints = new List <int>(); for (var i = 0; i < SecondPiePoints.Count; ++i) { co.SecondPiePoints.Add(SecondPiePoints[i]); } co.iSecondPieSize = iSecondPieSize; co.SeriesLinesShapeProperties = SeriesLinesShapeProperties.Clone(); co.ScatterStyle = ScatterStyle; co.bWireframe = bWireframe; co.RadarStyle = RadarStyle; co.Bubble3D = Bubble3D; co.iBubbleScale = iBubbleScale; co.ShowNegativeBubbles = ShowNegativeBubbles; co.SizeRepresents = SizeRepresents; co.HasDropLines = HasDropLines; co.DropLines = DropLines.Clone(); co.HasHighLowLines = HasHighLowLines; co.HighLowLines = HighLowLines.Clone(); co.HasUpDownBars = HasUpDownBars; co.UpDownBars = UpDownBars.Clone(); return(co); }
internal SLPieChartOptions Clone() { var pco = new SLPieChartOptions(ShapeProperties.listThemeColors); pco.VaryColors = VaryColors; pco.iFirstSliceAngle = iFirstSliceAngle; pco.byHoleSize = byHoleSize; pco.iGapWidth = iGapWidth; pco.HasSplit = HasSplit; pco.SplitType = SplitType; pco.SplitPosition = SplitPosition; pco.SecondPiePoints = new List <int>(); for (var i = 0; i < SecondPiePoints.Count; ++i) { pco.SecondPiePoints.Add(SecondPiePoints[i]); } pco.iSecondPieSize = iSecondPieSize; pco.ShapeProperties = ShapeProperties.Clone(); return(pco); }