New to Telerik UI for WinFormsStart a free 30-day trial

Provides additional data for the ImageExporting event.

Definition

Namespace:Telerik.WinForms.Documents.FormatProviders.Rtf

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ImageExportingEventArgs : EventArgs

Inheritance: objectEventArgsImageExportingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the ImageExportingEventArgs class.

C#
public ImageExportingEventArgs(byte[] imageBytes, string extension)
Parameters:imageBytesbyte[]

The image bytes.

extensionstring

The image extension.

Properties

Gets or sets the image extension.

C#
public string Extension { get; set; }
Property Value:

The extension.

Gets or sets the image bytes.

C#
public byte[] ImageBytes { get; set; }
Property Value:

The image bytes.

Gets or sets a value indicating whether this instance should be exported in compatibility group. If this property is set to true, the image is wrapped in nonshppict RTF tag.

C#
public bool IsInCompatibilityGroup { get; set; }
Property Value:

true if this instance is in compatibility group; otherwise, false.