IDocumentPaginatorSource.DocumentPaginator IDocumentPaginatorSource.DocumentPaginator IDocumentPaginatorSource.DocumentPaginator IDocumentPaginatorSource.DocumentPaginator Property

Definición

Cuando se implementa en una clase derivada, obtiene el objeto que realiza la paginación del contenido.When implemented in a derived class, gets the object that performs content pagination.

public:
 property System::Windows::Documents::DocumentPaginator ^ DocumentPaginator { System::Windows::Documents::DocumentPaginator ^ get(); };
public System.Windows.Documents.DocumentPaginator DocumentPaginator { get; }
member this.DocumentPaginator : System.Windows.Documents.DocumentPaginator
Public ReadOnly Property DocumentPaginator As DocumentPaginator

Valor de propiedad

Objeto que realiza la paginación del contenido real.The object that performs the actual content pagination.

Ejemplos

En el ejemplo siguiente se muestra el DocumentPaginator uso de la propiedad.The following example shows use of the DocumentPaginator property.

// ------------------------ CreateFixedDocument -----------------------
/// <summary>
///   Creates an empty FixedDocument.</summary>
/// <returns>
///   An empty FixedDocument without any content.</returns>
private FixedDocument CreateFixedDocument()
{
    FixedDocument fixedDocument = new FixedDocument();
    fixedDocument.DocumentPaginator.PageSize = new Size(96 * 8.5, 96 * 11);
    return fixedDocument;
}
' ------------------------ CreateFixedDocument -----------------------
''' <summary>
'''   Creates an empty FixedDocument.</summary>
''' <returns>
'''   An empty FixedDocument without any content.</returns>
Private Function CreateFixedDocument() As FixedDocument
	Dim fixedDocument As New FixedDocument()
	fixedDocument.DocumentPaginator.PageSize = New Size(96 * 8.5, 96 * 11)
	Return fixedDocument
End Function

Se aplica a