C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

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

rated by 0 users
This post has 2 Replies | 0 Followers

Top 10 Contributor
Posts 89,785
newsgroup_archive Posted: Fri, Sep 30 2005 8:14 AM
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).

Top 10 Contributor
Posts 89,785
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).

Top 10 Contributor
Posts 89,785
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) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.