Class ResolvedImage
A resolved image: display size and anchoring in twips plus a data opener that streams the bytes from the source package on demand.
public sealed class ResolvedImage
- Inheritance
-
ResolvedImage
- Inherited Members
Properties
- Anchored
Gets whether the image floats (anchored) rather than flowing inline.
- BehindText
Gets whether an anchored image renders behind text.
- ContentType
Gets the image content type, or null when unknown.
- CropBottom
Gets the bottom crop in thousandth-percent units (0..100000).
- CropLeft
Gets the left crop in thousandth-percent units (0..100000).
- CropRight
Gets the right crop in thousandth-percent units (0..100000).
- CropTop
Gets the top crop in thousandth-percent units (0..100000).
- Description
Gets the alternative text describing the image (
wp:docPr/@descr), or null.
- DistanceBottom
Gets the bottom text distance for wrapping in twips.
- DistanceLeft
Gets the left text distance for wrapping in twips.
- DistanceRight
Gets the right text distance for wrapping in twips.
- DistanceTop
Gets the top text distance for wrapping in twips.
- Height
Gets the display height in twips.
- Hidden
Gets whether the anchor is hidden.
- HorizontalAlignment
Gets the raw horizontal alignment token (wp:positionH/wp:align), or null.
- HorizontalRelativeTo
Gets the raw relative-from token for the horizontal position, or null.
- LayoutInCell
Gets whether an anchor inside a table cell resolves its position against that cell (wp:anchor layoutInCell). True when the document does not say otherwise, which is Word''s own default.
- OffsetX
Gets the horizontal offset in twips for anchored images.
- OffsetY
Gets the vertical offset in twips for anchored images.
- RelativeHeight
Gets the floating-object z-order (wp:anchor relativeHeight), or null.
- SimpleX
Gets the simple-position X coordinate in twips.
- SimpleY
Gets the simple-position Y coordinate in twips.
- UseSimplePosition
Gets whether simple positioning is requested for the anchor.
- VerticalAlignment
Gets the raw vertical alignment token (wp:positionV/wp:align), or null.
- VerticalRelativeTo
Gets the raw relative-from token for the vertical position, or null.
- Width
Gets the display width in twips.
- WrapKind
Gets how text wraps around this floating image.
- WrapSide
Gets the raw wrap-side token limiting wrapping side, or null.
Methods
- OpenData()
Opens a read-only stream over the image bytes (streamed lazily from the source package; the source document must not be disposed yet).