Skip to main content

ImageInplaceEditorInfo Class

Provides information about an image editor that you can then use to edit image content in Print Preview.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.1.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public class ImageInplaceEditorInfo :
    InplaceEditorInfoBase

Remarks

You can use one of the predefined image editors in Print Preview:

“Image” “Signature” “Image and Signature”
Image Predefined Editor Signature Predefined Editor Image and Signature Predefined Editor

Use the EditingFieldExtensions.RegisterEditorInfo(InplaceEditorInfoBase) method to register a custom image editor in the application. Pass an ImageInplaceEditorInfo object as the method’s parameter.

using DevExpress.Xpf.Printing;
//...
ImageEditorOptions imageEditorOptions = new ImageEditorOptions() {
    AllowLoadImage = false,
    AllowChangeSizeOptions = false,
    AllowDraw = true,
    AllowClear = false
};
ImageInplaceEditorInfo editorInfo = new ImageInplaceEditorInfo("DamageDiagram", imageEditorOptions);
EditingFieldExtensions.Instance.RegisterEditorInfo(editorInfo);

Inheritance

See Also