Back to Devexpress

DiagramBuilder.PageOrientation(DiagramPageOrientation) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-diagrambuilder-dot-pageorientation-x28-devextreme-dot-aspnet-dot-mvc-dot-diagrampageorientation-x29.md

latest1.3 KB
Original Source

DiagramBuilder.PageOrientation(DiagramPageOrientation) Method

Specifies the page orientation. Mirrors the client-side pageOrientation option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DiagramBuilder PageOrientation(
    DiagramPageOrientation value
)

Parameters

NameTypeDescription
valueDiagramPageOrientation

The option value.

|

Returns

TypeDescription
DiagramBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Diagram()
    .PageOrientation(DiagramPageOrientation.Landscape)
)

See Also

DiagramBuilder Class

DiagramBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace