[]
        
(Showing Draft Content)

C1.WPF.Word.Canvas.PictureShape

PictureShape Class

Represents an Image embedded in a shape container.

Inheritance
PictureShape
Namespace: C1.WPF.Word.Canvas
Assembly: C1.WPF.Word.4.6.2.dll
Syntax
public class PictureShape : FilledShape, IRtfContent, IEnumerable

Constructors

Name Description
PictureShape()

Initializes a new instance of an PictureShape.

PictureShape(C1Bitmap)

Initializes a new instance of an PictureShape.

PictureShape(C1Bitmap, int, int)

Initializes a new instance of an PictureShape.

PictureShape(C1Bitmap, int, int, int, int)

Initializes a new instance of an PictureShape.

PictureShape(C1Bitmap, Rect)

Initializes a new instance of an PictureShape.

PictureShape(C1Bitmap, Size, ContentAlignment, ImageScaling)

Initializes a new instance of an PictureShape.

PictureShape(IShapeContainer, C1Bitmap, int, int, int, int)

Initializes a new instance of an PictureShape.

PictureShape(IShapeContainer, WriteableBitmap, int, int, int, int)

Initializes a new instance of an PictureShape.

PictureShape(WriteableBitmap)

Initializes a new instance of an PictureShape.

PictureShape(WriteableBitmap, int, int)

Initializes a new instance of an PictureShape.

PictureShape(WriteableBitmap, int, int, int, int)

Initializes a new instance of an PictureShape.

PictureShape(WriteableBitmap, Rect)

Initializes a new instance of an PictureShape.

PictureShape(WriteableBitmap, Size, ContentAlignment, ImageScaling)

Initializes a new instance of an PictureShape.

Properties

Name Description
BottomClip

Gets or sets the bottom clipping area of this PictureShape, in twips.

Brightness

Gets or sets the brightness of this PictureShape (between 0 and 1).

Contrast

Gets or sets the contrast of this PictureShape (between 0 and 1).

FileName

Gets or sets the file name of this PictureShape.

Image

Gets a reference to the Image contained in this PictureShape.

IsEmpty

Determines whether the shape is empty.

LeftClip

Gets or sets the left clipping area of this PictureShape, in twips.

RightClip

Gets or sets the right clipping area of this PictureShape, in twips.

TopClip

Gets or sets the top clipping area of this PictureShape, in twips.

ViewType

Gets or sets wheether this PictureShape should be displayed in color, grayscale, or black and white.