DocumentPage.Missing Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a missing page. This property is static and read only.

Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

public static readonly DocumentPage Missing

Field Value

Type: System.Windows.Documents.DocumentPage

A DocumentPage with all its size properties set to zero.

Return the value DocumentPage.Missing when calling code requests a page that does not exist; for example, page 2 of a one-page document.

There is always just one missing page object. Its Visual property is null. Its Size, BleedBox, and ContentBox properties are all set to special "empty" values.

.NET Framework
Available since 3.0
Return to top
Show: