Section, Row, Cell - working with Index

U

Udo Weik

Hello,

I assign a Section-object via an index like (pseudocode)
vsoSection = vsoShape.Section[1]
a Row-object
vsoRow = vsoSection.Row[1]
and a Cell-object
vsoCell = vsoRow.Cell[1]

Now I have the following questions:
1. Is there any way to determine which (type of) section is
contained in vsoSection?
2. Is it possible to dermine how many rows vsoSection
contains?
3. Is there any way to determine which (type of) row is
contained in vsoRow?
4. vsoSection->Count
vsoRow->Count
The Count-property determines what?
5. Is it possible to dermine how many cells/columns vsoRow
contains?
6. The only way to iterate through all sections is to test
whether one of the VisSectionIndices exists (via the Section-
Exists-property of a Shape).
Why is there no Sections-Collection?

I know that I can access the values above via the Shape-
object. It's just a question for understanding.

Many thanks in advance.
Udo
 
J

JuneTheSecond

For question 1, my answer is negative. Section object has not name property.
Though we know all the names of the sections, the names of the section at the
shape sheet differs from the names listed in the VisSectionIndices.
 
J

JuneTheSecond

Section seems to be able to represented by the two parameters,
VisSectionIndices and VisRowIndices, for example
Shape Transform 1 1
Geometry 1 10 0 for NoFill row
Geometry 1 10 1 for X and Y rows
Geometry 2 11 0 for NoFill row
Geometry 2 11 1 for X and Y rows
Protection 1 15
Miscellaneous 1 8
 
J

JuneTheSecond

And, Section property and Row property to Cell object might be useful to get
Section Index and Row index from a Cell object in a Section.
 
U

Udo Weik

Hello JuneTheSecond,

thanks for clarifying. I was a litte bit lost in space...


Greetings
Udo
 

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