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


> 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



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...