共用方式為


GradientStop.Position Property

Position.Represents the attribte in schema: pos

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

Syntax

'Declaration
<SchemaAttrAttribute(, "pos")> _
Public Property Position As Int32Value
    Get
    Set
'Usage
Dim instance As GradientStop
Dim value As Int32Value

value = instance.Position

instance.Position = value
[SchemaAttrAttribute(, "pos")]
public Int32Value Position { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.

Remarks

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

Specifies where this gradient stop should appear in the color band. This position is specified in the range [0%, 100%], which corresponds to the beginning and the end of the color band respectively.

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

See Also

Reference

GradientStop Class

GradientStop Members

DocumentFormat.OpenXml.Drawing Namespace