Table of Contents

Class ShapePicture

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A picture nested inside a shape tree (pic:pic under wpg:wgp). Bytes stream from the source package exactly as they do for ImageRef.

public sealed class ShapePicture : ShapeNode
Inheritance
ShapePicture
Inherited Members

Constructors

ShapePicture()

Properties

ContentType

Gets or sets the content type of the image part, or null.

CropBottom

Gets or sets the source crop from the bottom in thousandth-percent units (a:srcRect b).

CropLeft

Gets or sets the source crop from the left in thousandth-percent units (a:srcRect l).

CropRight

Gets or sets the source crop from the right in thousandth-percent units (a:srcRect r).

CropTop

Gets or sets the source crop from the top in thousandth-percent units (a:srcRect t).

Geometry

Gets or sets the outline the picture is clipped to, or null for the full box.

PartUri

Gets or sets the source part URI, or null.

RelationshipId

Gets or sets the relationship id of the image part (a:blip r:embed), or null.

Methods

CloneShape()

Creates a deep copy of this node and its descendants.