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. Web Development
  3. ASP.NET
  4. How Can i create new Font Object with FontStyle both BOLD AND REGULAR

How Can i create new Font Object with FontStyle both BOLD AND REGULAR

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 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.
  • C Offline
    C Offline
    Chetan Patel
    wrote on last edited by
    #1

    Hello, I have one problem with creating new object of FONT it has no any option to give both bold and italic propertly at a time. I am waiting for reply.

    Best Regards, Chetan Patel

    C 1 Reply Last reply
    0
    • C Chetan Patel

      Hello, I have one problem with creating new object of FONT it has no any option to give both bold and italic propertly at a time. I am waiting for reply.

      Best Regards, Chetan Patel

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Italic and font strength are two different CSS properties. You can also combine them.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      C 1 Reply Last reply
      0
      • C Christian Graus

        Italic and font strength are two different CSS properties. You can also combine them.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        C Offline
        C Offline
        Chetan Patel
        wrote on last edited by
        #3

        Sorry, I am using graphics object to create image from HTML source and thats why i need to pass Font Object with its settings. so the Enumration of FontStyle has both property Bold and Italic but not combine.

        Best Regards, Chetan Patel

        C 1 Reply Last reply
        0
        • C Chetan Patel

          Sorry, I am using graphics object to create image from HTML source and thats why i need to pass Font Object with its settings. so the Enumration of FontStyle has both property Bold and Italic but not combine.

          Best Regards, Chetan Patel

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          OK, you can | those together. But, if you're creating an image with a graphics object, how does this relate to ASP.NET ?

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          C 1 Reply Last reply
          0
          • C Christian Graus

            OK, you can | those together. But, if you're creating an image with a graphics object, how does this relate to ASP.NET ?

            Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            C Offline
            C Offline
            Chetan Patel
            wrote on last edited by
            #5

            In our site the end user can design his page with DHTML. Once he complete design he save that page as image and this is in .aspx page, once the request arrives the DHTML is Converted into image using graphics object. if you have any idea then help me.

            Best Regards, Chetan Patel

            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