Skip to main content

DiagramControl.ShowPrintPreview(Int32, OrientationKind) Method

Invokes the Print Preview and scales the document according to the specified page count.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public void ShowPrintPreview(
    int pageCount,
    OrientationKind fitOrientation
)

Parameters

Name Type Description
pageCount Int32

An integer value that specifies the number of pages to which to fit the diagram.

fitOrientation OrientationKind

A DevExpress.Diagram.Core.OrientationKind enumeration value.

See Also