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

In This Topic
    TileRectangle Property
    In This Topic
    Gets a rectangular region of the object to which the gradient is applied.

    This region is then tiled across the remaining area of the object to complete the fill.

    The tile rectangle is defined by percentage offsets from the sides of the shape's bounding box.

    Each edge of the tile rectangle is defined by a percentage offset from the corresponding edge of the bounding box.

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

    This property has effect if the Type property is GradientType.Rectangle or GradientType.Circle.

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