ImageInline
An inline-level document element which contains image.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ImageInline : DrawingInline, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportInitialize
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineDrawingInlineImageInline...
Implements:
Inherited Members
Constructors
Initializes a new instance of the ImageInline class.
public ImageInline()
Initializes a new instance of the ImageInline class.
public ImageInline(ImageInline originalImage)
The ImageInline which will be cloned.
Initializes a new instance of the ImageInline class.
Initializes a new instance of the ImageInline class.
public ImageInline(Stream inputStream)
The stream from which to obtain the image source.
Initializes a new instance of the ImageInline class.
public ImageInline(Uri uriSource)
The URI from which to obtain the image source.
Initializes a new instance of the ImageInline class.
public ImageInline(WriteableBitmap writableBitmap)
The writable bitmap which will be used to create the image.
Properties
Gets or sets the alternative text for the image.
[XamlSerializable]
public string Alt { get; set; }
The alt.
Gets or sets the file extension.
[XamlSerializable]
public string Extension { get; set; }
The extension.
Gets or sets the height.
[XamlSerializable]
public override double Height { get; set; }
The height.
Overrides:
Gets or sets the image bytes in Base64 format. This property is used for serialization.
[XamlSerializable]
public string RawData { get; set; }
The raw data.
Gets or sets the angle at which the image should be rotated.
[XamlSerializable(0)]
public override double RotateAngle { get; set; }
The rotate angle.
Overrides:
Gets or sets the size.
public override Size Size { get; set; }
The size.
Overrides:
Gets or sets the title.
[XamlSerializable]
public string Title { get; set; }
The title.
Gets or sets the URI which is used to obtain the image source.
[XamlSerializable]
public Uri UriSource { get; set; }
The URI source.
Methods
Copies the source from another ImageInline.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The ImageInline to copy the source from.
Overrides:
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The ImageInline to copy the properties from.
Overrides:
Creates a LayoutBox for the element.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The document collection.
Returns:An ImageLayoutBox object representing the layout box for the current instance.
Overrides:
Creates a new instance of this element.
protected override DocumentElement CreateNewElementInstance()
The new instance.
Overrides:
Gets the byte array used to create the image.