public object PublishClone(AutomaticSubtotalContext context) { ChartThreeDProperties chartThreeDProperties = (ChartThreeDProperties)base.MemberwiseClone(); chartThreeDProperties.m_chart = (Chart)context.CurrentDataRegionClone; if (this.m_enabled != null) { chartThreeDProperties.m_enabled = (ExpressionInfo)this.m_enabled.PublishClone(context); } if (this.m_projectionMode != null) { chartThreeDProperties.m_projectionMode = (ExpressionInfo)this.m_projectionMode.PublishClone(context); } if (this.m_rotation != null) { chartThreeDProperties.m_rotation = (ExpressionInfo)this.m_rotation.PublishClone(context); } if (this.m_inclination != null) { chartThreeDProperties.m_inclination = (ExpressionInfo)this.m_inclination.PublishClone(context); } if (this.m_perspective != null) { chartThreeDProperties.m_perspective = (ExpressionInfo)this.m_perspective.PublishClone(context); } if (this.m_depthRatio != null) { chartThreeDProperties.m_depthRatio = (ExpressionInfo)this.m_depthRatio.PublishClone(context); } if (this.m_shading != null) { chartThreeDProperties.m_shading = (ExpressionInfo)this.m_shading.PublishClone(context); } if (this.m_gapDepth != null) { chartThreeDProperties.m_gapDepth = (ExpressionInfo)this.m_gapDepth.PublishClone(context); } if (this.m_wallThickness != null) { chartThreeDProperties.m_wallThickness = (ExpressionInfo)this.m_wallThickness.PublishClone(context); } if (this.m_clustered != null) { chartThreeDProperties.m_clustered = (ExpressionInfo)this.m_clustered.PublishClone(context); } return(chartThreeDProperties); }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(ChartArea.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Name: this.m_name = reader.ReadString(); break; case MemberName.CategoryAxes: this.m_categoryAxes = reader.ReadGenericListOfRIFObjects <ChartAxis>(); break; case MemberName.ValueAxes: this.m_valueAxes = reader.ReadGenericListOfRIFObjects <ChartAxis>(); break; case MemberName.ThreeDProperties: this.m_3dProperties = (ChartThreeDProperties)reader.ReadRIFObject(); break; case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.Hidden: this.m_hidden = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.AlignOrientation: this.m_alignOrientation = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ChartAlignType: this.m_chartAlignType = (ChartAlignType)reader.ReadRIFObject(); break; case MemberName.AlignWithChartArea: this.m_alignWithChartArea = reader.ReadString(); break; case MemberName.EquallySizedAxesFont: this.m_equallySizedAxesFont = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ChartElementPosition: this.m_chartElementPosition = (ChartElementPosition)reader.ReadRIFObject(); break; case MemberName.ChartInnerPlotPosition: this.m_chartInnerPlotPosition = (ChartElementPosition)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(false); break; } } }
public ChartThreeDProperties(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartThreeDProperties threeDPropertiesDef, Chart chart) { this.m_chart = chart; this.m_chartThreeDPropertiesDef = threeDPropertiesDef; }