User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_bitmapabstract.tostream_tobject_tgis_pixelformat_tgis_pixelsubformat_integer

Table of Contents

TGIS_BitmapAbstract.ToStream(TObject, TGIS_PixelFormat, TGIS_PixelSubFormat, int) method

DK11 for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.ToStream | Overloads | Methods | Properties

Save bitmap to stream.

Available also on: Delphi | Java.

Syntax

// C#
public abstract void ToStream(
  TObject _stream,
  TGIS_PixelFormat _format,
  TGIS_PixelSubFormat _subformat,
  int _compression
);
' VisualBasic
Public MustOverride Sub ToStream(
  ByVal _stream As TObject,
  ByVal _format As TGIS_PixelFormat,
  ByVal _subformat As TGIS_PixelSubFormat,
  ByVal _compression As Integer
)
// Oxygene
public
  procedure ToStream(
    _stream : TObject;
    _format : TGIS_PixelFormat;
    _subformat : TGIS_PixelSubFormat;
    _compression : Integer
  ); virtual; abstract;

Parameters

Name Type Description
_stream TObject platform specific stream (like TStream for VCL)
_format TGIS_PixelFormat output pixel format type
_subformat TGIS_PixelSubFormat output pixel subformat type
_compression int
Integer
compression level
2017/09/04 11:23