共用方式為


PatternFill.BackgroundColor Property

Background color.Represents the element tag in schema: a:bgClr

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

Syntax

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

value = instance.BackgroundColor

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

Property Value

Type: DocumentFormat.OpenXml.Drawing.BackgroundColor
Returns BackgroundColor.

See Also

Reference

PatternFill Class

PatternFill Members

DocumentFormat.OpenXml.Drawing Namespace