Class MergeImageFieldEventArgs
Represents the MergeImageField event that occurs during Mail merge.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Portable.dll
Syntax
public class MergeImageFieldEventArgs : MergeFieldEventArgs
Constructors
MergeImageFieldEventArgs(IWordDocument, String, Int32, IWMergeField, Object)
Initializes a new instance of MergeImageFieldEventArgs class for the specified Word document with table name, row index, field instance and the image.
Declaration
public MergeImageFieldEventArgs(IWordDocument doc, string tableName, int rowIndex, IWMergeField field, object obj)
Parameters
Type | Name | Description |
---|---|---|
IWordDocument | doc | The IWordDocument instance. |
System.String | tableName | The name of the table to perform merge. |
System.Int32 | rowIndex | The row index in the table. |
IWMergeField | field | The IWMergeField instance. |
System.Object | obj | An System.Object that specifies image. |
Properties
ImageStream
Gets or sets the image stream.
Declaration
public Stream ImageStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The System.IO.Stream that represents the image stream. |
Picture
Gets the Current Picture. Read-only
Declaration
public WPicture Picture { get; }
Property Value
Type |
---|
WPicture |
Skip
Gets or sets a value indicating whether this MergeImageFieldEventArgs is skip.
Declaration
public bool Skip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if skip; otherwise, |
UseText
Gets a value indicating whether to use text. Read-only.
Declaration
public bool UseText { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if to use the text; otherwise, false. |