DocumentPage.Missing Field

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft