Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GradientFill Class / FillRectangle Property

In This Topic
    FillRectangle Property
    In This Topic
    Gets the "focus" rectangle for the center shade, specified relative to the fill tile rectangle.

    The center shade fills the entire tile except the margins specified by each property.

    Each edge of the center shade rectangle is defined by a percentage offset from the corresponding edge of the tile rectangle.

    A positive percentage specifies an inset, while a negative percentage specifies an outset.

    This property has NO effect if the Type property is GradientType.Linear.

    Syntax
    'Declaration
     
    Public ReadOnly Property FillRectangle As EdgeExtent
    public EdgeExtent FillRectangle {get;}
    Example
    A left offset of 25% specifies that the left edge of the center shade rectangle is located to the right of the tile rectangle's left edge by an amount equal to 25% of the tile rectangle's width.
    See Also