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