DocumentPage.Missing Field


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

public: static initonly System::Windows::Documents::DocumentPage ^ Missing;
public static readonly System.Windows.Documents.DocumentPage Missing;
 staticval mutable Missing : System.Windows.Documents.DocumentPage
Public Shared ReadOnly Missing As DocumentPage 

Field Value


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.

Applies to