Class MailMergeImageOptions
Controls rich image insertion during a mail merge.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class MailMergeImageOptions
Properties
EnableCaching
Gets or sets whether image bytes should participate in document caching.
Declaration
public bool EnableCaching { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HeightCm
Gets or sets the requested image height in centimetres.
Declaration
public double? HeightCm { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ImageResolver
Gets or sets an application resolver for image-valued fields.
Declaration
public Func<string, object, MailMergeImageSource> ImageResolver { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<string, object, MailMergeImageSource> |
LockAspectRatio
Gets or sets whether the source aspect ratio should be retained.
Declaration
public bool LockAspectRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MissingImageBehavior
Gets or sets the behavior for a missing or invalid image.
Declaration
public MailMergeMissingImageBehavior MissingImageBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| MailMergeMissingImageBehavior |
WidthCm
Gets or sets the requested image width in centimetres.
Declaration
public double? WidthCm { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |