The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XRPictureBox.EditOptions Property

Provides access to the options that define whether and how an image can be edited in Print Preview.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public ImageEditOptions EditOptions { get; }
<SRCategory(ReportStringId.CatBehavior)>
<XtraSerializableProperty(XtraSerializationVisibility.Content)>
Public ReadOnly Property EditOptions As ImageEditOptions

Property Value

Type Description
ImageEditOptions

Provides edit options for the PictureBox report control.

Remarks

Set the ImageEditOptions.Enabled option to true to enable image editing for the PictureBox report control.

picture-box-enable-content-editing

The ImageEditOptions.EditorName option allows you to specify which editor to use to edit the image.

Image Signature Image and Signature (default)
picture-box-enable-content-editing picture-box-enable-content-editing picture-box-enable-content-editing

The following code demonstrates how to set image edit options in the method that is called before the CreateDocument method is called.

using DevExpress.XtraPrinting;
// ...

private void EnableDocumentEditing(XtraReport1 report) {
    report.xrPictureBox.EditOptions.Enabled = true;
    report.xrPictureBox.EditOptions.EditorName = "Signature";
}

You can enlarge the list of possible editors by adding an editor with a predefined image collection. Use the RegisterImageCollectionEditor(WinForms)/RegisterImageCollectionEditorInfo(WPF) method to register an editor with a specified name and a specified image collection.

Refer to the Content Editing in Print Preview topic for details.

See Also