## CellToProj

**Syntax**

CellToProj(int col, int row, ref double x, ref double y, double XllCenter, double YllCenter, double dX, double dY, int numRows)

**Summary**

Finds the center point of a grid cell that corresponds to the
row/col provided.

**Parameters**

col |
The column to be considered. |

row |
The row to be considered. |

x |
The resulting X value of the point that is in the center of the grid's cell. |

y |
The resulting Y value of the point that is in the center of the grid's cell. |

XllCenter |
The X value of the center point of the lower-left corner of the grid. |

YllCenter |
The Y value of the center point of the lower-left corner of the grid. |

dX |
The width of a cell in the grid. |

dY |
The height of a cell in the grid. |

numRows |
The total number of rows in the grid. |

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
Globals