[Shapelib] Styles ?
sagent100 at yahoo.com.ar
Mon Sep 29 14:40:22 PDT 2008
I can't find in the dbf api how to set the styles !
Can you send me a very simple example ?
thank you !
Brian Peschel wrote:
>> > From: shapelib-bounces at lists.maptools.org
>> > Hi,
>> > As you may be can see, I am new using shapes files!
>> > The question is, when we create a new object using shapelib, where is
>> > possible to set the styles ?
>> > For example if i am creating a point, where can we define the fontname,
>> > size, color, angle, etc ?
>> > Or creating a line, the style (dash, dot, single, etc), color, size,
>> > Or creating a poligon, the brush, background color, border style,
>> > size, etc.
>> From: "Todd Patten" <todd.patten at sbcglobal.net>
>> The shapefile contains the geometry not the attributes such as those you
>> describe. In general this type of editing is performed in the
>> displaying the shapefile. If you wanted to set these attributes, you
>> use a format such as ESRI's layer file (.lyr).
> You could always define this in the DBF file.....
> - Brian
> Shapelib mailing list
> Shapelib at lists.maptools.org
View this message in context: http://www.nabble.com/Styles---tp19716860p19732274.html
Sent from the ShapeLib mailing list archive at Nabble.com.
More information about the Shapelib