CreateSolidColorBrush

XpsDocument.CreateSolidColorBrush method (1 of 2)

Creates a new solid color brush.

public XpsSolidColorBrush CreateSolidColorBrush(XpsColor color)
Parameter Type Description
color XpsColor The color for filled elements.

Return Value

New solid color brush.

See Also


XpsDocument.CreateSolidColorBrush method (2 of 2)

Creates a new solid color brush.

public XpsSolidColorBrush CreateSolidColorBrush(Color color)
Parameter Type Description
color Color The color for filled elements.

Return Value

New solid color brush.

See Also