Provide Vector Items from Well-Known Text

This document explains how to provide vector items manually generated from WKT (Well-Known Text) for the Map Control.

Manually Generate from WKT

To provide vector items created from WKT (Well-Known Text), use the SqlGeometryItemStorage class. Create an object of this class and assign it to the VectorItemsLayer.Data property. Then, create SqlGeometryItem objects and add them to the SqlGeometryItemStorage.Items collection.

The following image illustrates vector items converted from WKT.


To learn more on how to provide data using the SqlGeometryItemStorage class, refer to How to: Manually Generate Vector Items from WKT.