ImageEditingField Class
An editing field that allows end-users to change an image content in Print Preview.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public class ImageEditingField :
EditingField
#Remarks
If you set the PictureBox control’s EditOptions.Enabled property to true, one or more ImageEditingField objects are added to the PrintingSystemBase.EditingFields collection. The number of created image editing fields depends on whether the control is bound to data (if it is bound, this number corresponds to the number of data records displayed for this control in the document). You can access a particular image editing field to modify its options.
An ImageEditingField object exposes the following options:
EditingField.ID, EditingField.ReadOnly, ImageEditingField.EditorName
The image edit options that the Picture Box‘ DevExpress.XtraReports.UI.ImageEditOptions object provides.
-
Provides access to the visual brick used to draw an image in Print Preview.
ImageEditingField.InitialImageSource
Stores the brick’s image as it was when the ImageEditingField object was created.
-
The currently set image. When an end-user changes the image, the ImageSource property is updated and the PrintingSystemBase.EditingFieldChanged event occurs.
ImageEditingField.ImageAlignment and ImageEditingField.ImageSizeMode
Options for image positioning in the image editor.
For more information, see Content Editing in Print Preview.