Table of Contents

Class ImageAnchor

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Positioning and wrapping data of an anchored (floating) image (ECMA-376 Part 1 §20.4.2.3 wp:anchor). Raw relative-from and alignment tokens are kept verbatim; offsets are EMU as written.

public sealed class ImageAnchor
Inheritance
ImageAnchor
Inherited Members

Constructors

ImageAnchor()

Properties

AllowOverlap

Gets or sets whether the image may overlap other floats (wp:anchor allowOverlap), or null.

BehindText

Gets or sets whether the image is behind text (wp:anchor behindDoc).

DistanceBottom

Gets or sets the distance from text below (wp:anchor distB), or null.

DistanceLeft

Gets or sets the distance from text on the left (wp:anchor distL), or null.

DistanceRight

Gets or sets the distance from text on the right (wp:anchor distR), or null.

DistanceTop

Gets or sets the distance from text above (wp:anchor distT), or null.

Hidden

Gets or sets whether the image is hidden (wp:anchor hidden), or null.

HorizontalAlignment

Gets or sets the raw ST_AlignH alignment token (wp:align), or null when an offset is used.

HorizontalOffset

Gets or sets the horizontal offset (wp:posOffset), or null when alignment is used.

HorizontalRelativeTo

Gets or sets the raw ST_RelFromH token the horizontal position is relative to (wp:positionH relativeFrom), or null.

LayoutInCell

Gets or sets whether the anchor stays inside its table cell (wp:anchor layoutInCell), or null.

Locked

Gets or sets whether the anchor is locked (wp:anchor locked), or null.

RelativeHeight

Gets or sets the z-order among floating objects (wp:anchor relativeHeight), or null.

SimplePosition

Gets or sets whether the simple position is used (wp:anchor w:simplePos attribute).

SimpleX

Gets or sets the simple position x coordinate (wp:simplePos), or null.

SimpleY

Gets or sets the simple position y coordinate (wp:simplePos), or null.

VerticalAlignment

Gets or sets the raw ST_AlignV alignment token (wp:align), or null when an offset is used.

VerticalOffset

Gets or sets the vertical offset (wp:posOffset), or null when alignment is used.

VerticalRelativeTo

Gets or sets the raw ST_RelFromV token the vertical position is relative to (wp:positionV relativeFrom), or null.

Wrap

Gets or sets how text wraps around the image.

WrapSide

Gets or sets the raw ST_WrapText token restricting which side text wraps on, or null.

Methods

Clone()

Creates a copy.