Table of Contents

Constructor ImagePlacement

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

ImagePlacement(Twips, Twips, Twips, Twips, string?, bool)

Initializes an image placement.

public ImagePlacement(Twips x, Twips y, Twips width, Twips height, string? contentType = null, bool behindText = false)

Parameters

x Twips
y Twips
width Twips
height Twips
contentType string
behindText bool

ImagePlacement(Twips, Twips, Twips, Twips, string?, bool, Func<Stream>?, int, int, int, int)

Initializes an image placement with a lazy data stream opener and source-crop metadata.

public ImagePlacement(Twips x, Twips y, Twips width, Twips height, string? contentType, bool behindText, Func<Stream>? openData, int cropLeft, int cropTop, int cropRight, int cropBottom)

Parameters

x Twips
y Twips
width Twips
height Twips
contentType string
behindText bool
openData Func<Stream>
cropLeft int
cropTop int
cropRight int
cropBottom int