MapWinGeoProc:Buffer BufferLine

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 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 Implementation Code
Visual C# 2005 Example Implementation Code
Back to Buffer

Retrieved from ""

This page has been accessed 1,343 times. This page was last modified on 26 June 2006, at 15:51.