Re: add canvas image to ftc

  • From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Wed, 26 Jan 2011 10:20:30 -0600

I wrote:
> Dr. Alexandre Amato wrote:
>> How can I add a canvas image to FTC ?
>> I am trying
>> 
>>   Dim p as FTParagraph
>> Dim io as FTInsertionOffset
>> io=ResultadoF.getDoc.getInsertionOffset
>> p = ResultadoF.getDoc.insertNewParagraph(io)
>> p.addObject(new FTPicture(ResultadoF, Canvas))
>> 
>> But that is not possible.
> 
> FTPicture takes a picture and a canvas is not a picture. So you
> need to save the picture of the image in the canvas when it is
> created and use that.

Also note, if the image you are talking about is in the backdrop
field, you can just use that.

FTC Website: http://www.truenorthsoftware.com/formattedtextcontrol
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts: