Skip to main content
All docs
V24.1

DXGraphics.FromImage(DXBitmap) Method

Creates a new object from the specified image.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public static DXGraphics FromImage(
    DXBitmap bitmap
)

Parameters

Name Type Description
bitmap DXBitmap

An image form which to create a new DXGraphics object.

Returns

Type Description
DXGraphics

The resulting object.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FromImage(DXBitmap) method.

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.

See Also