Using style sheet with GDI+ RRS feed

  • Question

  • User-223020938 posted
    Can, somebody please provide me with an example of how i can use a style sheet to determine the brush/pen colours in GDI+ code or even tell me whether this is possible? Thanks in advance for the help.
    Monday, June 28, 2004 8:20 AM

All replies

  • User-1372641848 posted
    No you can not (unless you create your own stylesheet parser which can convert stylesheet informaion into objects like font,brush,pen ) I would appreciate if you can tell us why you need this functionality? some body might provide alternate solution.
    Monday, June 28, 2004 9:47 AM
  • User-223020938 posted
    The reason why i need style sheets is because i am generating some line charts, these line charts have various different colours that are used within them however i want the colours to be specified using a style sheet as this style sheet is used commonly throughout a particular application i.e. we only want to change the colours in one location without having to trawl though the code everytime somebody decided that the look and feel of the application needs changing.
    Tuesday, June 29, 2004 5:45 AM