Back to Devexpress

DXImageFormat.Bmp Property

corelibraries-devexpress-dot-drawing-dot-dximageformat.md

latest3.0 KB
Original Source

DXImageFormat.Bmp Property

Gets the bitmap (BMP) image format.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public static DXImageFormat Bmp { get; }
vb
Public Shared ReadOnly Property Bmp As DXImageFormat

Property Value

TypeDescription
DXImageFormat

An object that indicates the bitmap image format.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Bmp 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.

pdf-document-api-extract-images-from-document/CS/PdfProcessorGetImages/Program.cs#L32

csharp
if (bitmaps.Count != 0) {
    bitmaps[0].Save(String.Format(@"{0}_{1}.bmp", x, y), DXImageFormat.Bmp);
    bitmaps[0].Dispose();

pdf-document-api-export-document-to-multi-page-tiff-and-bitmap/CS/ExportToImage/Program.cs#L32

csharp
// Save the bitmaps.
    image.Save("MyBitmap" + i + ".bmp", DXImageFormat.Bmp);
}

pdf-document-api-extract-images-from-document/VB/PdfProcessorGetImages/Program.vb#L33

vb
If bitmaps.Count <> 0 Then
    bitmaps(0).Save(String.Format("{0}_{1}.bmp", x, y), DXImageFormat.Bmp)
    bitmaps(0).Dispose()

pdf-document-api-export-document-to-multi-page-tiff-and-bitmap/VB/ExportToImage/Program.vb#L22

vb
' Save the bitmaps.
    image.Save("MyBitmap" & i & ".bmp", DXImageFormat.Bmp)
Next

See Also

DXImageFormat Class

DXImageFormat Members

DevExpress.Drawing Namespace