PageSheet
PageSheet class
Contains elements that define the page sheet for a Page or Master element.
Properties
| Name | Type | Description |
|---|---|---|
| LineStyle | StyleSheet | StyleSheet element from which the PageSheet inherits line formatting. |
| FillStyle | StyleSheet | StyleSheet element from which the PageSheet inherits fill formatting. |
| TextStyle | StyleSheet | StyleSheet element from which the PageSheet inherits text formatting. |
| UniqueID | UUID | A GUID (globally unique identifier) for the element. |
| XForm | XForm | Contains elements specifying general positioning information about a shape. |
| PageProps | PageProps | Contains Diagram that control page attributes, such as the page width, height, and scale. |
| RulerGrid | RulerGrid | Contains elements that specify the settings of the page’s rulers and grid. |
| PageLayout | PageLayout | Contains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on |
| PrintProps | PrintProps | Contains elements that control how the drawing page is formatted (appears) on the printer page. |
| Scratchs | ScratchCollection | Contains a collection of Scratch elements. |
| Connections | ConnectionCollection | Contains a collection of Connection elements. |
| ConnectionABCDs | ConnectionABCDCollection | Contains a collection of ConnectionABCD elements. |
| Acts | ActCollection | Contains a collection of Act elements. |
| Layers | LayerCollection | Contains a collection of Layer elements. |
| Users | UserCollection | Contains a collection of User elements. |
| Props | PropCollection | Contains a collection of Prop elements. |
| Hyperlinks | HyperlinkCollection | Contains a collection of Hyperlink elements. |
| SmartTagDefs | SmartTagDefCollection | Contains a collection of SmartTagDef elements. |
| Annotations | AnnotationCollection | Contains elements that contain information about comments inserted into a document page. |
| Foreign | Foreign | Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. |
| ForeignData | ForeignData | Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, |
Methods
| Name | Description |
|---|---|
| copy | Copies 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
PageSheet.Hyperlinks property
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.
| Parameter | Type | Description |
|---|---|---|
| source | PageSheet | source pagesheet. |