Group: microsoft.public.word.vba.general
From: "kol"
Date: Wednesday, March 26, 2008 8:21 PM
Subject: Re: Font related

Hi Klaus;

First of all I would like to thank you for your respone and guidance . It's
working great; now I can build any type of parentheses thanks to you.
I have one more question to you if I may:
So I have the parentheses build say four or five symbols deep. How
do I navigate in otherwords, set the cursor position to each level from vb?
Or do I write my code as I build the parentheses ?

Best regards,

Kol

"Klaus Linke" wrote in message
news:uAJQVYqjIHA.5724@TK2MSFTNGP03.phx.gbl...
> Hi kol,
>
> Set the paragraph spacing to "exactly", and the same size as the font
> size.
>
> Or by macro:
> Dim myPara As Paragraph
> For Each myPara In Selection.Paragraphs
> With myPara.Format
> .LineSpacingRule = wdLineSpaceExactly
> .LineSpacing = myPara.Range.Characters.First.Font.Size
> End With
> Next myPara
>
> Word may still show gaps (even in "print preview"), but the symbol font is
> designed so the characters fit nicely with the line spacing equal to the
> font size. So the print-out should be perfect.
>
> Regards,
> Klaus
>
>
> "kol" wrote:
>> What I would like to do is:
>>
>> Insert fonts (to my vb6 application) from the ' symbol font file ' like
>> character codes ' 230, 231, 231, 232 ' in a vertical position without
>> any gap between them to form a tall ' parentheses '. There's no problem
>> inserting them with the gap but it's ugly! How do you adjust the
>> vertical
>> offset to behave as a single unit or whatever to accomplish this? Any vb
>> code will be greatly appreciated.
>>
>> kol
>>
>


Safety Articles | Usenet Groups | Usenet News | Bluegrass