[]
        
(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

Gets or sets the bottom offset of the image.

ContentType

Gets the content type of the image.

Data

Gets the binary data of the image.

HorizontalOffset

Gets or sets the horizontal offset of the image.

LeftOffset

Gets or sets the left offset of the image.

Gets the linked file name.

RightOffset

Gets or sets the right offset of the image.

ScaleX

Gets or sets the scaleX of the image.

ScaleY

Gets or sets the scaleY of the image.

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

Gets or sets the top offset of the image.

Transparency

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

VerticalOffset

Gets or sets the vertical offset of the image.

Methods

Name Description
Clone()

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

Equals(Brush)

Indicates whether the current object is equal to another object of the same type.

Load()

Load the stream image data.

Scale(double)

Scale the image brush.