共用方式為


PatternFill.Preset Property

Preset Pattern.Represents the attribte in schema: prst

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "prst")> _
Public Property Preset As EnumValue(Of PresetPatternValues)
    Get
    Set
'Usage
Dim instance As PatternFill
Dim value As EnumValue(Of PresetPatternValues)

value = instance.Preset

instance.Preset = value
[SchemaAttrAttribute(, "prst")]
public EnumValue<PresetPatternValues> Preset { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<PresetPatternValues>
Returns EnumValue<T>.

Remarks

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

Specifies one of a set of preset patterns to fill the object.

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

See Also

Reference

PatternFill Class

PatternFill Members

DocumentFormat.OpenXml.Drawing Namespace