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

    Show / Hide Table of Contents

    PatternFillFormat Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a fill with a repeated pattern of foreground and background color.

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

    Properties

    BackgroundColor

    Gets or sets the background color.

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

    The background color.

    FillType

    Gets the Pattern value.

    • C#
    • VB.NET
    public override FillFormatType FillType { get; }
    Public Overrides ReadOnly Property FillType As FillFormatType
    Property Value
    FillFormatType

    The Pattern value.

    Overrides
    FillFormat.FillType

    ForegroundColor

    Gets or sets the foreground color.

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

    The foreground color.

    PatternType

    Gets or sets the type of the fill pattern.

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

    The type of the fill pattern.

    Inherited Methods

    SetGradient(GradientFillType)

    Sets the fill to the gradient fill.

    (Inherited from FillFormat)

    SetNone()

    Sets the fill to none, thus making the area transparent.

    (Inherited from FillFormat)

    SetPattern(PatternFillType, Color, Color)

    Sets the fill to the pattern fill.

    (Inherited from FillFormat)

    SetPicture(Content)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.IO.Stream)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.IO.Stream, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

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

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, System.Boolean)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, System.String)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetSlideBackground()

    Sets the fill of the Shape to that of the slide background surface. Applicable only on Shape's fill.

    This method does not set the fill of the shape to be transparent but instead sets it to be filled with the portion of the slide background that is directly behind it.

    (Inherited from FillFormat)

    SetSolid(Color)

    Sets the fill to the solid fill.

    (Inherited from FillFormat)

    Examples

    Shape Formatting Example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.