public override object Clone() { ChartFormatRecord r = new ChartFormatRecord(); r.Height = this.Height; r.Icrt = this.Icrt; r.VaryDisplayPattern = this.VaryDisplayPattern; r.Width = this.Width; r.XPosition = this.XPosition; r.YPosition = this.YPosition; return(r); }
public void TestLoad() { RecordInputStream in1 = TestcaseRecordInputStream.Create(data); ChartFormatRecord record = new ChartFormatRecord(in1); if (in1.Remaining == 2) { throw new AssertionException("Identified bug 44693d"); } Assert.AreEqual(0, in1.Remaining); Assert.AreEqual(24, record.RecordSize); byte[] data2 = record.Serialize(); Assert.IsTrue(Arrays.Equals(data, data2)); }
private ChartFormatRecord CreateChartFormatRecord() { ChartFormatRecord r = new ChartFormatRecord(); r.XPosition = (0); r.YPosition = (0); r.Width = (0); r.Height = (0); r.VaryDisplayPattern = (false); return r; }
public override object Clone() { ChartFormatRecord r = new ChartFormatRecord(); r.Height = this.Height; r.Icrt = this.Icrt; r.VaryDisplayPattern = this.VaryDisplayPattern; r.Width = this.Width; r.XPosition = this.XPosition; r.YPosition = this.YPosition; return r; }
private ChartFormatRecord CreateChartFormatRecord() { ChartFormatRecord r = new ChartFormatRecord(); r.SetXPosition(0); r.SetYPosition(0); r.SetWidth(0); r.SetHeight(0); r.SetVaryDisplayPattern(false); return r; }