This documentation is archived and is not being maintained.

IDocumentStructureProvider.AddDocumentStructure Method

Adds theDocumentStructure part of XML Paper Specification (XPS) to an XPS package.

Namespace:  System.Windows.Xps.Packaging
Assembly:  ReachFramework (in ReachFramework.dll)

XpsStructure AddDocumentStructure()
You cannot use methods in XAML.

Return Value

Type: System.Windows.Xps.Packaging.XpsStructure
An XpsStructure that represents the DocumentStructure part of an XPS package.

For more information about the DocumentStructure element of an XPS package, see chapter 9 of the XML Paper Specification (XPS) specification, which you can obtain at XPS: Specification and License Downloads.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: