User Tools

Site Tools


api:dk11:delphi:fmx.gisframework.tgis_bitmapfmx.tostream_tobject_tgis_pixelformat_tgis_pixelsubformat_integer

Table of Contents



TGIS_BitmapFMX.ToStream(TObject; TGIS_PixelFormat; TGIS_PixelSubFormat; Integer) method

DK for Delphi | FMX.GisFramework.TGIS_BitmapFMX.ToStream | Overloads | Constructors | Fields | Methods | Properties

Save the bitmap to a stream using the specified pixel format and subformat.

Syntax

Overrides TGIS_BitmapAbstract.ToStream.

// Delphi
public
  procedure ToStream(
    const _stream : TObject;
    const _format : TGIS_PixelFormat;
    const _subformat : TGIS_PixelSubFormat;
    const _compression : Integer
  ); override;
// C++ Builder
public:
  virtual void ToStream(
    TObject* const _stream,
    TGIS_PixelFormat* const _format,
    TGIS_PixelSubFormat* const _subformat,
    const int _compression
  );

Parameters

Name Type Description
_stream TObject platform-specific stream object that receives the bitmap data
_format TGIS_PixelFormat output pixel format
_subformat TGIS_PixelSubFormat output pixel subformat
_compression Integer compression level for formats that support compression
2026/08/28 01:29

Page Tools