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. weird string question

weird string question

Scheduled Pinned Locked Moved C#
question
5 Posts 4 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.
  • R Offline
    R Offline
    RB Emphasys
    wrote on last edited by
    #1

    Quick question, does anyone know of a way to have a single string with different fonts and or sizes within that string? Thanks, Ryan

    D M L 3 Replies Last reply
    0
    • R RB Emphasys

      Quick question, does anyone know of a way to have a single string with different fonts and or sizes within that string? Thanks, Ryan

      D Offline
      D Offline
      Daniel M Edwards
      wrote on last edited by
      #2

      The string object holds no formatting just character data.

      1 Reply Last reply
      0
      • R RB Emphasys

        Quick question, does anyone know of a way to have a single string with different fonts and or sizes within that string? Thanks, Ryan

        M Offline
        M Offline
        Mike Ellison
        wrote on last edited by
        #3

        Hi Ryan. What are you looking to do? As Daniel mentioned, a string object contains no formatting itself - if you can elaborate on what you would like to accomplish, it might be easier to provide some help.

        R 1 Reply Last reply
        0
        • R RB Emphasys

          Quick question, does anyone know of a way to have a single string with different fonts and or sizes within that string? Thanks, Ryan

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          I suggest embedding HTML/CSS :) leppie::AllocCPArticle("Zee blog");
          Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

          1 Reply Last reply
          0
          • M Mike Ellison

            Hi Ryan. What are you looking to do? As Daniel mentioned, a string object contains no formatting itself - if you can elaborate on what you would like to accomplish, it might be easier to provide some help.

            R Offline
            R Offline
            RB Emphasys
            wrote on last edited by
            #5

            Sorry for the lack of explanation. I have a control that takes a string value. I blanked out there for a minute thinking that the string was holding formatting info, I ended up splitting the control and adding seperate strings to the seperate controls. But thanks for the replys! Ryan

            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