Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Word color problem [modified]

Word color problem [modified]

Scheduled Pinned Locked Moved C#
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jithen_dt
    wrote on last edited by
    #1

    ------------------------------------------------------------------- I am reading pixel by pixel from a image, creating a color object corresponding to that pixels color and witing a "." into a word file and coloring it with the same color as the pixel. But Word.wdColor has only 60 colors I am not able to relate the color object with Word.wdColor enum. -------------------------------------------------------------------

    Every is Illusion

    N 1 Reply Last reply
    0
    • J jithen_dt

      ------------------------------------------------------------------- I am reading pixel by pixel from a image, creating a color object corresponding to that pixels color and witing a "." into a word file and coloring it with the same color as the pixel. But Word.wdColor has only 60 colors I am not able to relate the color object with Word.wdColor enum. -------------------------------------------------------------------

      Every is Illusion

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello Try to transform it to the closest color using its RGB value.

      Regards:rose:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups