bool BufferLine(ref MapWinGIS.Shape line, System.Double distance, MapWinGeoProc.Enumerations.Buffer_LineSide buffSide, MapWinGeoProc.Enumerations.Buffer_CapStyle capStyle, MapWinGeoProc.Enumerations.Buffer_EndCapStyle endCapStyle, int numQuadrants, ref MapWinGIS.Shape resultShp)
Creates a buffer around a line shape.
|line||The line to be buffered.|
|distance||Distance (in units) from the line at which the buffer should be created.|
|buffSide||Which side of the line to buffer. 0 = both, 1 = left, 2 = right.|
|capStyle||Edge treatement. 0 = pointed, 1 = rounded.|
|endCapStyle||End treatment. 0 = pointed, 1 = rounded, 2 = closed (for polygons only!)|
|numQuadrants||Smoothness of rounded caps. Smaller value = smoother circle.|
|resultShp||The resulting polygon buffer.|
False if an error was encountered, true otherwise.
Visual Basic Net 2005 Example
Visual C# 2005 Example Implementation Code
Back to Buffer