Section, Row, and Cell Indices for Pages

Section, Row, and Cell Indices for Pages

The following table lists sections, rows, and cells that are displayed in the ShapeSheet® window for a drawing page or master, with constants for the corresponding section, row, and cell indices.

You can reference some of the same sections and cells for a page or master that you can for a shape: Actions, Custom Properties, Hyperlinks, Scratch, and User-Defined Cells sections. For information on these sections and cells, see Section, Row, and Cell Indices for Shapes earlier in this appendix. You can also reference the sections and cells shown in this table for a page.

Note To show the ShapeSheet window for a page or master, make sure nothing is selected on the page, and then click Show ShapeSheet on the Window menu. If Visio is running in developer mode, you can right-click the page, and then click Show ShapeSheet on the shortcut menu.

Section or row

Cell

Section index

Row index

Cell index

Layers section

Layers.Name[i]
Layers.Visible[i]
Layers.Status[i]1
Layers.Print[i]
Layers.Active[i]
Layers.Locked[i]
Layers.Snap[i]
Layers.Glue[i]
Layers.Color[i]
Layers.NameUniv[i]1
Layers.ColorTrans[i]

visSectionLayer

visRowLayer + i

visLayerName
visLayerVisible
visLayerStatusvisLayerPrint
visLayerActive
visLayerLock
visLayerSnap
visLayerGlue
visLayerColor
visLayerNameUniv
visLayerColorTrans

Page Layout section

PlaceStyle
PlaceDepth
PlowCode
ResizePage
DynamicsOff
EnableGrid
CtrlAsInput
BlockSizeX
BlockSizeY
AvenueSizeX
AvenueSizeY
RouteStyle
PageLineJumpDirX
PageLineJumpDirY
LineToNodeX
LineToNodeY
LineToLineX
LineToLineY
LineJumpFactorX
LineJumpFactorY
LineJumpCode
LineJumpStyle
LineAdjustFrom
LineAdjustTo
PlaceFlip
LineRouteExt

visSectionObject

visRowPageLayout

visPLOPlaceSyle
visPLOPlaceDepth
visPLOPlowCode
visPLOResizePage
visPLODynamicsOff
visPLOEnableGrid
visPLOCtrlAsInput
visPLOBlockSizeX
visPLOBlockSizeY
visPLOAvenueSizeX
visPLOAvenueSizeY
visPLORouteSyle
visPLOJumpDirX
visPLOJumpDirY
visPLOLineToNodeX
visPLOLineToNodeY
visPLOLineToLineX
visPLOLineToLineY
visPLOJumpFactorX
visPLOJumpFactorY
visPLOJumpCode
visPLOJumpStyle
visPLOLineAdjustFrom
visPLOLineAdjustTo
visPLOPlaceFlip
visPLOLineRouteExt

Page Properties section

PageWidth
PageHeight
PageScale
DrawingScale
ShdwOffsetX
ShdwOffsetY
DrawingSizeType
DrawingScaleType
InhibitSnap

visSectionObject

visRowPage

visPageWidth
visPageHeight
visPageScale
visPageDrawingScale
visPageShdwOffsetX
visPageShdwOffsetY
visPageDrawSizeType
visPageDrawScaleType
visPageInhibitSnap

Ruler & Grid section

XRulerOrigin
YRulerOrigin
XRulerDensity
YRulerDensity
XGridOrigin
YGridOrigin
XGridDensity
YGridDensity
XGridSpacing
YGridSpacing

visSectionObject

visRowRulerGrid

visXRulerOrigin
visYRulerOrigin
visXRulerDensity
visYRulerDensity
visXGridOrigin
visYGridOrigin
visXGridDensity
visYGridDensity
visXGridSpacing
visYGridSpacing

1This cell does not appear in the ShapeSheet window.