[]
        
(Showing Draft Content)

GrapeCity.Drawing.ImageBrush

ImageBrush Class

This element specifies the type of picture fill that the picture object has

Inheritance
ImageBrush
Implements
Namespace: GrapeCity.Drawing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public sealed class ImageBrush : Brush, IEquatable<Brush>, IMedia
Public NotInheritable Class ImageBrush
    Inherits Brush
    Implements IEquatable(Of Brush), IMedia

Constructors

Name Description
ImageBrush(Stream, string)

Initializes a new instance of the ImageBrush class.

ImageBrush(string)

Initializes a new instance of the ImageBrush class.

Properties

Name Description
Alignment

Gets or sets the texture alignment.

Aspect

Gets or set an AspectRatio value indicating how the fill image aspect ratio will be preserved.

BottomOffset
ContentType

Gets the content type of the image.

Data

Gets the binary data of the image.

HorizontalOffset
LeftOffset

Gets the linked file name.

RightOffset
ScaleX
ScaleY
Tag

Gets or sets the object that contains data about the image brush.

TileFlipMode

Gets or sets the tile flip mode indicates how to flip the picture of a tile region when using it to fill a larger fill region.

TitlePictureAsTexture

Gets a boolean value indicating whether the brush is texture.

TopOffset
Transparency

Returns or sets the degree of transparency of the specified brush as a value from 0.0 (opaque) through 1.0 (clear).

VerticalOffset

Methods

Name Description
Clone()

Creates a new Brush instance with the same value as an existing brush.

Equals(Brush)
Load()

Load the stream image data.

Scale(double)

Scale the image brush.