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

Defines a floating block which contains an image.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FloatingImageBlock : DrawingFloatingBlock, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor

Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseFloatingBlockDrawingFloatingBlockFloatingImageBlock...

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChanged

Inherited Members DrawingFloatingBlock.CopyPropertiesFromOverride(DocumentElement)DrawingFloatingBlock.DrawingInlineFloatingBlock.CreateLayoutBox(DocumentStructureCollection)FloatingBlock.CopyContentFromOverride(DocumentElement)FloatingBlock.HorizontalPositionFloatingBlock.VerticalPositionFloatingBlock.AllowOverlapFloatingBlock.MarginFloatingBlock.WrappingStyleFloatingBlock.TextWrapFloatingBlock.AffectsLayoutFloatingBlock.SkipPositionBeforeFloatingBlock.DeleteBehaviorFloatingBlock.BackspaceBehaviorFloatingBlock.DeleteSelectedBehaviorAnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.IsWordSeparatorAnnotationMarkerBase.IsCopyableInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChangedRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the FloatingImageBlock class.

C#
public FloatingImageBlock()

Initializes a new instance of the FloatingImageBlock class using a copy of another FloatingImageBlock.

C#
public FloatingImageBlock(FloatingImageBlock other)
Parameters:otherFloatingImageBlock

The other.

Initializes a new instance of the FloatingImageBlock class.

C#
public FloatingImageBlock(Stream inputStream, Size size, string extension)
Parameters:inputStreamStream

The stream from which to obtain the image source for the image inside the block.

sizeSize

The size of the element.

extensionstring

The extension of the image.

Properties

Represents the image inside the floating block.

C#
public ImageInline ImageInline { get; set; }
Property Value:

The image.

Methods

Creates a new instance of the FloatingImageBlock class.

C#
protected override DocumentElement CreateNewElementInstance()
Returns:

DocumentElement

The new instance.

Overrides: DocumentElement.CreateNewElementInstance()

Initializes the element.

C#
public void Init(Stream inputStream, Size size, string extension)
Parameters:inputStreamStream

The stream from which to obtain the image source.

sizeSize

The size of the element.

extensionstring

The extension of the image.

Initializes the element.

C#
public void Init(Stream inputStream, string extension)
Parameters:inputStreamStream

The stream from which to obtain the image source.

extensionstring

The extension of the image.