ImageEn, unit iewic

TIEWICWriter.IsAvailable

TIEWICWriter.IsAvailable


Declaration

function IsAvailable: boolean;


Description

Returns true if WIC is available. This should always be true on Windows Vista or newer (or Windows XP SP2 with .NET 3.0).

See also: IEWICAvailable


Example

with TIEWICWriter.Create do
  if IsAvailable then
  begin
    Open('D:\output.wdp', ioHDP);
    PutFrame(ImageEnView1.IEBitmap, ImageEnView1.IO.Params);
    Free;
  end;