共用方式為


PatternFill.ForegroundColor Property

Foreground color.Represents the element tag in schema: a:fgClr

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

Syntax

'Declaration
Public Property ForegroundColor As ForegroundColor
    Get
    Set
'Usage
Dim instance As PatternFill
Dim value As ForegroundColor

value = instance.ForegroundColor

instance.ForegroundColor = value
public ForegroundColor ForegroundColor { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Drawing.ForegroundColor
Returns ForegroundColor.

See Also

Reference

PatternFill Class

PatternFill Members

DocumentFormat.OpenXml.Drawing Namespace