# DocumentSheet Element

Specifies a document's ShapeSheet structure.

## Syntax

    <DocumentSheet
        [Name]
        [NameU]
        [UniqueID]
        [LineStyle]
        [FillStyle]
        [TextStyle]>
    </DocumentSheet>

## Attributes

Name

Optional string. The name of the DocumentSheet element.

NameU

Optional string. The universal name of the DocumentSheet element.

UniqueID

Optional string. A GUID (globally unique identifier) identifying the shape.

LineStyle

Optional int. Specifies the ID of the StyleSheet element from which this sheet inherits line formatting.

FillStyle

Optional int. Specifies the ID of the StyleSheet element from which this sheet inherits fill formatting.

TextStyle

Optional int. Specifies the ID of the StyleSheet element from which this sheet inherits text formatting.

## Element properties

Property | Value
--- | ---
Name | DocumentSheet
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

VisioDocument

Child elements

Text

XForm

Line

Fill

XForm1D

Event

LayerMem

StyleProp

Foreign

PageProps

TextBlock

TextXForm

Align

Protection

Help

Misc

RulerGrid

DocProps

Image

Group

Layout

PageLayout

PrintProps

Char

Para

Tabs

Scratch

Connection

ConnectionABCD

Field

Control

Geom

Act

Layer

User

Prop

Hyperlink

Reviewer

Annotation

SmartTagDef

Data1

Data2

Data3

ForeignData

## Remarks

While all the listed child elements are technically permitted, only DocProps, User, Prop, Hyperlink, Scratch, Data1, Data2, and Data3 are likely to be relevant to the DocumentSheet element.

## See also

DocumentSheet property

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp