hello,
I have probably missed something ...
I get this error when I try to add a TextStyle to a CustomStyles :
The value for the enumeration is not on of the valid values.
Parameter name: style
But the same TextStyle applied to DefaultTextStyle works.
mylayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(TextStyles.CreateSimpleTextStyle("TEX", "Arial Narrow", 10, FontStyle.Bold, GeoColor.StandardColors.Gray))
Thank you for your help !
mylayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.CreateSimpleTextStyle("TEX", "Arial Narrow", 10, FontStyle.Bold, GeoColor.StandardColors.Gray)