View Direction

E

EliA

Hi all,

I'm using the Visio 2007 drawing control in my c# application.
In Visio 2007, in the View menu there's an entry called "View
Direction" and it lets you select between Right-To-Left and Left-To-
Right.

My question is how can I use this property programmatically?

Thanks in advance,
Eli.
 
P

Paul Herber

Hi all,

I'm using the Visio 2007 drawing control in my c# application.
In Visio 2007, in the View menu there's an entry called "View
Direction" and it lets you select between Right-To-Left and Left-To-
Right.

I think the Right-to-left and Left-to-right are for supporting
languages that work from right to left like Arabic and Hebrew.
 
E

EliA

Thanks Paul,

What you say is true, but this property also determines the location
of the scroll bars.
For some reason, the default value (in my application) is set to
"Right to Left" and I don't know how to change that.

The appearance of the vertical scroll bar on the left side (in the
"Right to Left" layout) causes a display bug in the right edge of the
control (where the scroll bar should have been) and that's why I want
to change this property to "Left to Right".

Do you know how can I do it?

Thanks,
Eli.
 
P

Paul Herber

Thanks Paul,

What you say is true, but this property also determines the location
of the scroll bars.
For some reason, the default value (in my application) is set to
"Right to Left" and I don't know how to change that.

The appearance of the vertical scroll bar on the left side (in the
"Right to Left" layout) causes a display bug in the right edge of the
control (where the scroll bar should have been) and that's why I want
to change this property to "Left to Right".

Do you know how can I do it?

There should be a TextDirection attribute, leftToRight = 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top