Back to Devexpress

DiagramControl.ShowPrintPreview(Int32, OrientationKind) Method

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-dot-showprintpreview-x28-system-dot-int32-devexpress-dot-diagram-dot-core-dot-orientationkind-x29.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
public void ShowPrintPreview(
    int pageCount,
    OrientationKind fitOrientation
)
vb
Public Sub ShowPrintPreview(
    pageCount As Integer,
    fitOrientation As OrientationKind
)

Parameters

NameTypeDescription
pageCountInt32

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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace