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).

Example

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

See Also

IEWICAvailable