Back to Devexpress

OfficeImage.RootImage Property

officefileapi-devexpress-dot-office-dot-utils-dot-officeimage-19a8511d.md

latest1.7 KB
Original Source

OfficeImage.RootImage Property

This property is overridden in OfficeImage descendants to point to a single instance of an image that can be incorporated in different objects.

Namespace : DevExpress.Office.Utils

Assembly : DevExpress.Office.v25.2.Core.dll

NuGet Package : DevExpress.Office.Core

Declaration

csharp
public virtual OfficeImage RootImage { get; }
vb
Public Overridable ReadOnly Property RootImage As OfficeImage

Property Value

TypeDescription
OfficeImage

An OfficeImage object that is the image in the document.

|

Remarks

Multiple instances of OfficeImage descendants utilized in different tasks and processes of the RichEditControl may use a single instance of a document image. The RootImage property provides access to this instance when required, reducing memory consumption and enhancing performance.

For the base OfficeImage class, the RootImage property returns the same OfficeImage instance.

See Also

OfficeImage Class

OfficeImage Members

DevExpress.Office.Utils Namespace