Ejemplo n.º 1
0
        private static short GetNumRowsForSection(IVisio.Shape shape, SectionColumn sec)
        {
            // For visSectionObject we know the result is always going to be 1
            // so avoid making the call tp RowCount[]
            if (sec.SectionIndex == IVisio.VisSectionIndices.visSectionObject)
            {
                return(1);
            }

            // For all other cases use RowCount[]
            return(shape.RowCount[(short)sec.SectionIndex]);
        }
 internal SectionColumnDetails(SectionColumn sq, short shapeid, int numrows)
 {
     this.section_column = sq;
     this.ShapeID = shapeid;
     this.RowCount = numrows;
 }
Ejemplo n.º 3
0
 internal SectionColumnDetails(SectionColumn sq, short shapeid, int numrows)
 {
     this.SectionColumn = sq;
     this.ShapeID       = shapeid;
     this.RowCount      = numrows;
 }