Udostępnij za pośrednictwem


PageOrientation Enum

Definition

Defines the PageOrientation enumeration.

public enum PageOrientation
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2016)]
public enum PageOrientation
public readonly struct PageOrientation : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation>, IEquatable<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation>
type PageOrientation = 
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2016)>]
type PageOrientation = 
type PageOrientation = struct
    interface IEnumValue
    interface IEnumValueFactory<PageOrientation>
Public Enum PageOrientation
Public Structure PageOrientation
Implements IEnumValue, IEnumValueFactory(Of PageOrientation), IEquatable(Of PageOrientation)
Inheritance
PageOrientation
Inheritance
PageOrientation
Attributes

Fields

Name Value Description
Default 0

default.

When the item is serialized out as xml, its value is "default".

Portrait 1

portrait.

When the item is serialized out as xml, its value is "portrait".

Landscape 2

landscape.

When the item is serialized out as xml, its value is "landscape".

Default

default.

When the item is serialized out as xml, its value is "default".

Equality(PageOrientation, PageOrientation)
Equals(Object)
Equals(PageOrientation)
GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<PageOrientation>.Create(String)
Inequality(PageOrientation, PageOrientation)
Landscape

landscape.

When the item is serialized out as xml, its value is "landscape".

PageOrientation(String)

Creates a new PageOrientation enum instance

Portrait

portrait.

When the item is serialized out as xml, its value is "portrait".

ToString()

Applies to