ImageEn, unit iewia

TIEWia.GetItemPropertyAttrib

TIEWia.GetItemPropertyAttrib


Declaration

procedure GetItemPropertyAttrib( PropId: TPropID; item: TIEWiaItem; var attrib: TIEWiaAttrib; var values: TIEWiaValues );


Description

Fills attrib and values parameters. They allow knowing a property range and access rights.
WIA item properties


Example

// this gets the minimum and maximum values allowed for horizontal resolution
var
  attrib: TIEWiaAttrib;
  values: TIEWiaValues;
begin
  ImageEnView1.IO.WIAParams.GetItemPropertyAttrib(WIA_IPS_XRES, nil, attrib, values);
  Edit.Hint := 'Min='+inttostr(values.min)+' Max='+inttostr(values.max);
  values.free;
end;