共用方式為


DocGridValues Enum

Definition

Defines the DocGridValues enumeration.

public enum DocGridValues
public readonly struct DocGridValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Wordprocessing.DocGridValues>, IEquatable<DocumentFormat.OpenXml.Wordprocessing.DocGridValues>
type DocGridValues = 
type DocGridValues = struct
    interface IEnumValue
    interface IEnumValueFactory<DocGridValues>
Public Enum DocGridValues
Public Structure DocGridValues
Implements IEnumValue, IEnumValueFactory(Of DocGridValues), IEquatable(Of DocGridValues)
Inheritance
DocGridValues
Inheritance
DocGridValues

Fields

Name Value Description
Default 0

No Document Grid.

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

Lines 1

Line Grid Only.

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

LinesAndChars 2

Line and Character Grid.

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

SnapToChars 3

Character Grid Only.

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

Default

No Document Grid.

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

DocGridValues(String)

Creates a new DocGridValues enum instance

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

Line Grid Only.

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

LinesAndChars

Line and Character Grid.

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

SnapToChars

Character Grid Only.

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

ToString()

Applies to