MapWinGeoProc:ClipGridWithPoly FillGrid

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy



 bool FillGrid(ref string inputGF, ref string resultGF, ref MapWinGIS.Shape poly, int newNumRows, int newNumCols, int rowClearCount, int firstCol, int firstRow, double firstXPt, double firstYPt, System.Boolean clipToExtents)


Fills the result grid with values from the input grid.


inputGF The path to the input grid.
resultGF The path to the result grid.
poly The polygon used in clipping.
newNumRows The number of rows in the result grid.
newNumCols The number of cols in the result grid.
rowClearCount The number of rows that should be filled before
the unmanaged resources are disposed of.
firstCol The first column of the original grid that corresponds to the first column of the result grid.
firstRow The first row of the original grid that corresponds to the first row of the result grid.
firstXPt The X value (minX) of the first point in the result grid.
firstYPt The Y value (maxY) of the first point in the result grid.(
clipToExtents True if clipping to extents rather than polygon shape.


False if an error was encountered, true otherwise.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to ClipGridWithPoly

Retrieved from ""

This page has been accessed 975 times. This page was last modified on 26 June 2006, at 16:32.