Back to Devexpress

LayoutFloatingPicture.Image Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-layout-dot-layoutfloatingpicture.md

latest3.2 KB
Original Source

LayoutFloatingPicture.Image Property

Returns an image contained in the floating picture object.

Namespace : DevExpress.XtraRichEdit.API.Layout

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public OfficeImage Image { get; }
vb
Public ReadOnly Property Image As OfficeImage

Property Value

TypeDescription
OfficeImage

An OfficeImage object that is the image contained in the floating picture.

|

Remarks

The Image property is similar to the PictureFormat.Picture property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-richedit-layout-api-practical-usage/CS/WindowsFormsApplication1/DocumentLayoutHelper/DocumentElementLayoutHelper.cs#L52

csharp
returnedInformation += String.Format("\r\n!!Image properties:\r\n");
    returnedInformation += GetInformationAboutOfficeImage(currentFloatingPicture.Image);
}

winforms-richedit-layout-api-practical-usage/VB/WindowsFormsApplication1/DocumentLayoutHelper/DocumentElementLayoutHelper.vb#L55

vb
returnedInformation &= String.Format(Constants.vbCrLf & "!!Image properties:" & Constants.vbCrLf)
    returnedInformation &= GetInformationAboutOfficeImage(currentFloatingPicture.Image)
End If

See Also

Shapes, Pictures, and Other Graphic Objects in Rich Text Documents

LayoutFloatingPicture Class

LayoutFloatingPicture Members

DevExpress.XtraRichEdit.API.Layout Namespace