Jump to content
Software FX Community

Re: Question about manipulating Annotation Objects


User (Legacy)

Recommended Posts

Thank-you for the quick reply! 

I got my first issue to work, but I am still confused on the second one.

I assume that I have to get the font from the IAnnText object like so:

IFontDisp* font_disp;

font_disp = label->GetFont();

Once I do this though, how can I modify that attributies of the object? Do

I have to cast it to an IFont object? Or is there another way to manipulate

it that I am just not seeing?

Francisco Padron <frankp@softwarefx.com> wrote in message

news:DE0379D14694D211B4CE00609770710D03AD36@sftfx-221.wamnet.net...

> 1) Make sure the object is not ATTACHED. You can call the Attach method to

> un-attach it.

>

> 2) The IAnnText object has a Font property (putref_Font method).

>

> Frank

> SFX

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...