Class ImageFieldMergingEventArgs
Provides data for a mail-merge image field callback.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ImageFieldMergingEventArgs : EventArgs
Properties
Context
Gets the current record or merge context.
Declaration
public object Context { get; }
Property Value
| Type | Description |
|---|---|
| object |
Document
Gets the document being merged.
Declaration
public Document Document { get; }
Property Value
| Type | Description |
|---|---|
| Document |
FieldName
Gets the image field name.
Declaration
public string FieldName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Handled
Gets or sets whether the callback has supplied the final image value.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ImageBytes
Gets or sets image bytes supplied by the callback.
Declaration
public byte[] ImageBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
ImageContentType
Gets or sets the image content type.
Declaration
public string ImageContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImageFileName
Gets or sets an optional source image file name.
Declaration
public string ImageFileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImageStream
Gets or sets an image stream supplied by the callback.
Declaration
public Stream ImageStream { get; set; }
Property Value
| Type | Description |
|---|---|
| Stream |
Text
Gets or sets fallback text written when binary insertion is unavailable.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets original source.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| object |