All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v21.2.dll

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