[mapguide-users] RE: ForegroundColor from FDO property

Traian Stanev traian.stanev at autodesk.com
Thu Mar 11 15:04:19 EST 2010


Hi,

I looked at the code and it seems like you can use an FDO property, but not string property -- the property has to evaluate to an integer. So it should work if you convert the hex string to an integer.


Traian


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of David Hequet
Sent: Thursday, March 11, 2010 4:02 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: ForegroundColor from FDO property


oh sorry:

juste try to edit xml with maestro to have

            <Fill>
              <FillPattern>Solid</FillPattern>
              <ForegroundColor>myFdoProperty</ForegroundColor>
              <BackgroundColor>FF000000</BackgroundColor>
            </Fill>


instead of:

            <Fill>
              <FillPattern>Solid</FillPattern>
              <ForegroundColor>FF000000</ForegroundColor>
              <BackgroundColor>FF000000</BackgroundColor>
            </Fill>

where "myFdoProperty" is a string column containing hex color (eg:
FFEFEFEF...)

David

-- 
View this message in context: http://n2.nabble.com/ForegroundColor-from-FDO-property-tp4708122p4714824.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list