Gets or sets a boolean value indicating whether this IMessage represents an image or an update.
![](../icons/collapse_all.gif)
![](../icons/collapse_all.gif)
true if this message is an image of the object, false if it is an update to the existing state of the object.
![](../icons/collapse_all.gif)
By default, Image has a value of false indicating that the IMessage is an update and not an image.
![](../icons/collapse_all.gif)
The following example sends a Type 1 record image to all subscribed peers.
![](../icons/CopyCode.gif)
using Caplin.DataSource; using Caplin.DataSource.Messaging; using Caplin.DataSource.Messaging.Record; using Caplin.DataSource.Publisher; namespace DataSourceExamples.Messaging.Record { public class SendingARecordImage { void SendRecordImage(IPublisher publisher, string subject) { IRecordType1Message message = publisher.MessageFactory.CreateRecordType1Message(subject); // Indicate that this is an image. message.Image = true; // Add an Ask field to the message. message["Ask"] = "22.1"; // Send the message to subscribed peers. publisher.PublishToSubscribedPeers(message); } } }