Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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