Re: SoftWrap in NormalMode or Scale in EditMode?

  • From: Jim Pitchford <jim@xxxxxxxxxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Fri, 7 Jun 2013 11:34:14 -0500

I have tried a work around of drawing the FormattedText control into a 
picture.graphics, and then g.drawpicture into a canvas. Whilst this creates the 
desired scaling effect, it is very limited as picture uses bitmap graphics, so 
the quality of fonts etc diminishes quickly.

It would be nice to be able to find a way of keeping the graphics quality.

Jim Pitchford
jim@xxxxxxxxxxxxxxxx



On 7 Jun 2013, at 10:08, Jim Pitchford <jim@xxxxxxxxxxxxxxxx> wrote:

> In order to be able to print my new FTC based control, I need to be able to 
> scale it.
> 
> The control I have built uses EditMode to take advantage of its soft wrapping 
>  - allowing me to fit text into any sized output. But I notice that there is 
> no scaling within EditMode.
> 
> SetScale seems to be only available in Normal or Page modes. Is it possible 
> to turn on soft-wrapping in either of these modes?
> 
> Or is there another solution to get a scaled copy of a soft wrapped EditMode 
> into a canvas paint event?
> 
> Regards
> 
> 
> 
> FTC Website: http://www.bkeeney.com/products/formatted-text-control
> 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.
> 
> 
> 

FTC Website: http://www.bkeeney.com/products/formatted-text-control
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: