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
Remarks
You can use one of the predefined image editors in Print Preview:
“Image” | “Signature” | “Image and Signature” |
---|---|---|
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
Object
InplaceEditorInfoBase
ImageInplaceEditorInfo
See Also