trichview.com

trichview.support




Re: RichViewEdit and using small fonts


Return to index


Author

Message

Alan S. Olson

Posted: 07/19/2005 16:50:29


Hi Alex -


Thanks for the tip.  Your suggestion "works" but its not a true zoom

functionality.  It doesn't adjust tab stops, page width, etc.


What i truly would like is a way to easily zoom the RV canvas for when i

need to utilize small sized fonts, but still truly have the user entering

the text using the small fonts.


Alan


"Alexander Rumpfhuber" <alexanderrmpf@gmx.net> wrote in message

news:42d9910e$1@support.torry.net...

> procedure TForm1.SwitchToDPI(dpi: integer);

> begin

>    RichViewPixelsPerInch := dpi; // global variable from RVFuncs unit

>    richview1.Style.TextStyles.PixelsPerInch := dpi; // RVStyle linked with

> richview

>    richview1.reformat;

> end;

>

> For instance:

>

>   SwitchToDPI(screen.pixelsperinch * 2);  //double DPI

>

>

>

> Hope it helps...

>

> Alex

>

>

>

>

> "Alan" <aolson@bizwi.rr.com> wrote

>> Is there any simple way to apply a zoom factor to the TRichViewEdit

>> whereby

>> i could still use the proper fonts and page settings, but the

>> TRichViewEdit

>> would "zoom in" by a factor of 2x?

>

>





Powered by ABC Amber Outlook Express Converter