User Activity

  • Posted a comment on discussion General Discussion on SimpleXlsxWriter

    I've figured it out that theme should be false, i.e., .. Style FontStyle; FontStyle.font.color = "FFFF0000"; FontStyle.font.attributes = FONT_BOLD; FontStyle.font.theme = false; .. const size_t FontStyleCode = book.AddStyle(FontStyle); .. The outputted text font color ("some text") will follow font.color. George

  • Posted a comment on discussion General Discussion on SimpleXlsxWriter

    Hello, I'm having trouble to specify a text's font color. Here is the code: ... Style FontStyle; FontStyle.font.color = "FFFF0000"; FontStyle.font.attributes = FONT_BOLD; .. const size_t FontStyleCode = book.AddStyle(FontStyle); .. Sheet.BeginRow().AddCell("some text", FontStyleCode).AddCell(..).EndRow(); .. The outputted Excel (.xlsx) has "some text" in bold and black (default). How do I change the text's color to whatever I want? Thanks. George

View All

Personal Data

Username:
georgewang
Joined:
2021-02-18 19:42:24

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB