Jump to content
Software FX Community

TopFont or Fonts Object? Either produce white border on the title What's up?


User (Legacy)

Recommended Posts

I'm trying to set the Chart Title Font.  The API Ref says the TopFont

property is obsolete but all your examples show the TopFont property being

used to set it and not the Fonts object. Which is it? These bitwise

properties are a pain to work with! I'm also getting a Raised appearance on

the Chart Title either way, how do I remove it, where is this set? Is this

in the documentation somewhere?

Thanks,

Tom Pavelka

Link to comment
Share on other sites

The LeftFont, RightFont and BottomFont properties were made obsolete because

these fonts can be reached by setting the TitleFont of the appropriate axis.

You should continue to use TopFont for the main title. BTW, the bitwise

properties are legacy from when creating a font required a call to

CreateFont and its 11 parameters.

To remove the raised appearance you must add the CTE_NOTITLESHADOW flag to

the TypeEx property

Chart.TypeEx = Chart.TypeEx Or CTE_NOTITLESHADOW

--

Regards

JC

Software FX Support

"Tom Pavelka" <tom.pavelka@lawson.com> wrote in message

news:cZNMjQHGCHA.692@webserver1.softwarefx.com...

> I'm trying to set the Chart Title Font. The API Ref says the TopFont

> property is obsolete but all your examples show the TopFont property being

> used to set it and not the Fonts object. Which is it? These bitwise

> properties are a pain to work with! I'm also getting a Raised appearance

on

> the Chart Title either way, how do I remove it, where is this set? Is

this

> in the documentation somewhere?

>

> Thanks,

>

> Tom Pavelka

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...