Class
FloatingImageBlock

Defines a floating block which contains an image.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
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

FloatingImageBlock()

Initializes a new instance of the FloatingImageBlock class.

Declaration

cs-api-definition
public FloatingImageBlock()

FloatingImageBlock(FloatingImageBlock)

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

Declaration

cs-api-definition
public FloatingImageBlock(FloatingImageBlock other)

Parameters

other

FloatingImageBlock

The other.

FloatingImageBlock(Stream, Size, string)

Initializes a new instance of the FloatingImageBlock class.

Declaration

cs-api-definition
public FloatingImageBlock(Stream inputStream, Size size, string extension)

Parameters

inputStream

Stream

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

size

Size

The size of the element.

extension

string

The extension of the image.

Properties

ImageInline

Represents the image inside the floating block.

Declaration

cs-api-definition
public ImageInline ImageInline { get; set; }

Property Value

ImageInline

The image.

Methods

CreateNewElementInstance()

Creates a new instance of the FloatingImageBlock class.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()

Init(Stream, Size, string)

Initializes the element.

Declaration

cs-api-definition
public void Init(Stream inputStream, Size size, string extension)

Parameters

inputStream

Stream

The stream from which to obtain the image source.

size

Size

The size of the element.

extension

string

The extension of the image.

Init(Stream, string)

Initializes the element.

Declaration

cs-api-definition
public void Init(Stream inputStream, string extension)

Parameters

inputStream

Stream

The stream from which to obtain the image source.

extension

string

The extension of the image.