Re: Using DrawHTMLString doesn't seem to allow you to align the text.

WinForms

ComponentOne's WinForms controls

Using DrawHTMLString doesn't seem to allow you to align the text.

  • rated by 0 users
  • This post has 2 Replies |
  • 0 Followers
  • I'm using DrawHTMLString and attempting to set the alignment of the text
    (which I know you can do with DrawString) and I can't seem to get it to
    work. Since there are parameters to tell the alignment as in DrawString,
    I've put in the actual HTML code code to make the alignment changes. I've
    tried adding a div with alignment, creating a table of a single row/cell
    with an alignment and neither work correctly.

    Is there a workaround for this?

    I need to use HTML because I can have special processing (different sizes of
    text, different fonts, ...) all as part of my text.

    Any thoughts?

    TIA - Jeffrey.


    Click here to view the original newsgroup article (read only).

  • Did anybody take a look at this?

    Is this something that is going to be fixed anytime soon?

    TIA - Jeffrey

    "UJ" wrote in message
    news:433d2c48$1@vger5.componentone.com...
    > I'm using DrawHTMLString and attempting to set the alignment of the text
    > (which I know you can do with DrawString) and I can't seem to get it to
    > work. Since there are parameters to tell the alignment as in DrawString,
    > I've put in the actual HTML code code to make the alignment changes. I've
    > tried adding a div with alignment, creating a table of a single row/cell
    > with an alignment and neither work correctly.
    >
    > Is there a workaround for this?
    >
    > I need to use HTML because I can have special processing (different sizes
    > of text, different fonts, ...) all as part of my text.
    >
    > Any thoughts?
    >
    > TIA - Jeffrey.
    >
    >


    Click here to view the original newsgroup article (read only).

  • Has anybody looked at this? There's been no response at all......

    Jeff.

    "UJ" wrote in message
    news:4379dc8e$1@vger5.componentone.com...
    > Did anybody take a look at this?
    >
    > Is this something that is going to be fixed anytime soon?
    >
    > TIA - Jeffrey
    >
    > "UJ" wrote in message
    > news:433d2c48$1@vger5.componentone.com...
    >> I'm using DrawHTMLString and attempting to set the alignment of the text
    >> (which I know you can do with DrawString) and I can't seem to get it to
    >> work. Since there are parameters to tell the alignment as in DrawString,
    >> I've put in the actual HTML code code to make the alignment changes. I've
    >> tried adding a div with alignment, creating a table of a single row/cell
    >> with an alignment and neither work correctly.
    >>
    >> Is there a workaround for this?
    >>
    >> I need to use HTML because I can have special processing (different sizes
    >> of text, different fonts, ...) all as part of my text.
    >>
    >> Any thoughts?
    >>
    >> TIA - Jeffrey.
    >>
    >>
    >
    >


    Click here to view the original newsgroup article (read only).

Page 1 of 1 (3 items)