共用方式為


PatternFill.PatternType Property

Definition

Pattern Type

Represents the following attribute in the schema: patternType

[DocumentFormat.OpenXml.SchemaAttr(0, "patternType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues> PatternType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues> PatternType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "patternType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues>? PatternType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("patternType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues>? PatternType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues>? PatternType { get; set; }
member this.PatternType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "patternType")>]
member this.PatternType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("patternType")>]
member this.PatternType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.PatternValues> with get, set
Public Property PatternType As EnumValue(Of PatternValues)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the fill pattern type (including solid and none). Default is none, when missing.

The possible values for this attribute are defined by the ST_PatternType simple type.

Applies to