text: public void SetAnchor(short col1, int row1, int x1, int y1, short col2, int row2, int x2, int y2){CheckRange(x1, 0, 1023, "dx1");CheckRange(x2, 0, 1023, "dx2");CheckRange(y1, 0, 255, "dy1");CheckRange(y2, 0, 255, "dy2");CheckRange(col1, 0, 255, "col1");CheckRange(col2, 0, 255, "col2");CheckRange(row1, 0, 255 * 256, "row1");CheckRange(row2, 0, 255 * 256, "row2");this.Col1 = col1;this.Row1 = row1;this.Dx1 = x1;this.Dy1 = y1;this.Col2 = col2;this.Row2 = row2;this.Dx2 = x2;this.Dy2 = y2;}