PageSheet

PageSheet class

Contains elements that define the page sheet for a Page or Master element.

Properties

NameTypeDescription
LineStyleStyleSheetStyleSheet element from which the PageSheet inherits line formatting.
FillStyleStyleSheetStyleSheet element from which the PageSheet inherits fill formatting.
TextStyleStyleSheetStyleSheet element from which the PageSheet inherits text formatting.
UniqueIDUUIDA GUID (globally unique identifier) for the element.
XFormXFormContains elements specifying general positioning information about a shape.
PagePropsPagePropsContains Diagram that control page attributes, such as the page width, height, and scale.
RulerGridRulerGridContains elements that specify the settings of the page’s rulers and grid.
PageLayoutPageLayoutContains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on
PrintPropsPrintPropsContains elements that control how the drawing page is formatted (appears) on the printer page.
ScratchsScratchCollectionContains a collection of Scratch elements.
ConnectionsConnectionCollectionContains a collection of Connection elements.
ConnectionABCDsConnectionABCDCollectionContains a collection of ConnectionABCD elements.
ActsActCollectionContains a collection of Act elements.
LayersLayerCollectionContains a collection of Layer elements.
UsersUserCollectionContains a collection of User elements.
PropsPropCollectionContains a collection of Prop elements.
HyperlinksHyperlinkCollectionContains a collection of Hyperlink elements.
SmartTagDefsSmartTagDefCollectionContains a collection of SmartTagDef elements.
AnnotationsAnnotationCollectionContains elements that contain information about comments inserted into a document page.
ForeignForeignContains elements specifying the width and height of an object from another program used in a Microsoft Visio document.
ForeignDataForeignDataContains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap,

Methods

NameDescription
copyCopies pagesheet from a source object.

PageSheet.LineStyle property

StyleSheet element from which the PageSheet inherits line formatting.

Type: StyleSheet

PageSheet.FillStyle property

StyleSheet element from which the PageSheet inherits fill formatting.

Type: StyleSheet

PageSheet.TextStyle property

StyleSheet element from which the PageSheet inherits text formatting.

Type: StyleSheet

PageSheet.UniqueID property

A GUID (globally unique identifier) for the element.

Type: UUID

PageSheet.XForm property

Contains elements specifying general positioning information about a shape.

Type: XForm

PageSheet.PageProps property

Contains Diagram that control page attributes, such as the page width, height, and scale.

Type: PageProps

PageSheet.RulerGrid property

Contains elements that specify the settings of the page’s rulers and grid.

Type: RulerGrid

PageSheet.PageLayout property

Contains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on the page, spacing between all connectors on the page, and routing style for all connectors on the page.

Type: PageLayout

PageSheet.PrintProps property

Contains elements that control how the drawing page is formatted (appears) on the printer page.

Type: PrintProps

PageSheet.Scratchs property

Contains a collection of Scratch elements.

Type: ScratchCollection

PageSheet.Connections property

Contains a collection of Connection elements.

Type: ConnectionCollection

PageSheet.ConnectionABCDs property

Contains a collection of ConnectionABCD elements.

Type: ConnectionABCDCollection

PageSheet.Acts property

Contains a collection of Act elements.

Type: ActCollection

PageSheet.Layers property

Contains a collection of Layer elements.

Type: LayerCollection

PageSheet.Users property

Contains a collection of User elements.

Type: UserCollection

PageSheet.Props property

Contains a collection of Prop elements.

Type: PropCollection

Contains a collection of Hyperlink elements.

Type: HyperlinkCollection

PageSheet.SmartTagDefs property

Contains a collection of SmartTagDef elements.

Type: SmartTagDefCollection

PageSheet.Annotations property

Contains elements that contain information about comments inserted into a document page.

Type: AnnotationCollection

PageSheet.Foreign property

Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. Also includes elements specifying the distance the object’s image is offset within its borders.

Type: Foreign

PageSheet.ForeignData property

Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.

Type: ForeignData

copy(source)

Copies pagesheet from a source object.

ParameterTypeDescription
sourcePageSheetsource pagesheet.