GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    SolidColorBrush Class

    Namespace:
    GemBox.Document.Drawing
    Assembly:
    GemBox.Document.dll

    Represents a brush which fills an area with a solid color.

    • C#
    • VB.NET
    public sealed class SolidColorBrush : Brush
    Public NotInheritable Class SolidColorBrush
        Inherits Brush
    Inheritance:
    System.Object
    Brush
    SolidColorBrush

    Properties

    Color

    Gets or sets the color of this SolidColorBrush.

    • C#
    • VB.NET
    public Color Color { get; set; }
    Public Property Color As Color
    Property Value
    Color

    The color of this SolidColorBrush.

    Inherited Properties

    IsEmpty

    Gets a value indicating whether the parent element is filled.

    (Inherited from Brush)

    Inherited Methods

    SetDefault()

    Sets a default fill on the parent element (element will be filled based on the default settings).

    (Inherited from Brush)

    SetEmpty()

    Sets an empty fill on the parent element (element won't be filled).

    (Inherited from Brush)

    SetGradient(GradientFillType)

    Sets a gradient fill on the parent element.

    (Inherited from Brush)

    SetPattern(PatternFillType, Color, Color)

    Sets a pattern fill on the parent element.

    (Inherited from Brush)

    SetPicture(Content)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.IO.Stream)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.IO.Stream, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.IO.Stream, System.String)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.String, System.Boolean)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.String, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetPicture(System.String, System.String)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from Brush)

    SetSolid(Color)

    Sets a solid color fill on the parent element.

    (Inherited from Brush)

    SetSolid(Color, System.Byte)

    Sets a solid color fill on the parent element.

    (Inherited from Brush)

    ToString()

    Returns a System.String that represents this Brush instance.

    (Inherited from Brush)

    Examples

    Shapes example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.