Selection.Information from C#

J

Joe Ross

I am attempting to determine the current location of the Selection.
Selection.Information seems to be the way to do this; however, this property
is not available (I'm using the Office XP PIAs).

Is there a workaround or different method for doing this?

Thanks
-joe
 
H

Harold Kless[MSFT}

Hi Joe,
In C# we can use Get_Information.
It would look like this
//Information(wdFirstCharacterColumnNumber)
object cPos;
cPos
=oWord.Selection.Range.get_Information(Word.WdInformation.wdFirstCharacterCo
lumnNumber);

MessageBox.Show ("Selection wdFirstCharacterColumnNumber " +
cPos.ToString());


Harold Kless, MCSD
Support Professional
Microsoft Technical Support for Business Applications
[email protected]
--


This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
Top