Class FloatingImageBlock
Defines a floating block which contains an image.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class FloatingImageBlock : DrawingFloatingBlock, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Constructors
FloatingImageBlock()
FloatingImageBlock(Stream, Size, String)
Initializes a new instance of the Floating
Declaration
public FloatingImageBlock(Stream inputStream, Size size, string extension)
Parameters
System. The stream from which to obtain the image source for the image inside the block. |
Size
size
The size of the element. |
System. The extension of the image. |
FloatingImageBlock(FloatingImageBlock)
Initializes a new instance of the Floating
Declaration
public FloatingImageBlock(FloatingImageBlock other)
Parameters
Floating The other. |
Properties
ImageInline
Represents the image inside the floating block.
Declaration
public ImageInline ImageInline { get; set; }
Property Value
Image The image. |
Methods
CreateNewElementInstance()
Creates a new instance of the Floating
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
Document The new instance. |
Overrides
Init(Stream, String)
Initializes the element.
Declaration
public void Init(Stream inputStream, string extension)
Parameters
System. The stream from which to obtain the image source. |
System. The extension of the image. |
Init(Stream, Size, String)
Initializes the element.
Declaration
public void Init(Stream inputStream, Size size, string extension)
Parameters
System. The stream from which to obtain the image source. |
Size
size
The size of the element. |
System. The extension of the image. |