package body MSHTML.ISVGLengthList_Object is

   procedure Put_numberOfItems
     (This : ISVGLengthList_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         ISVGLengthList_Put_numberOfItems,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_numberOfItems;

   function Get_numberOfItems
     (This : ISVGLengthList_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, ISVGLengthList_Get_numberOfItems);
   end Get_numberOfItems;

   procedure clear
     (This : ISVGLengthList_Type)
   is
   begin
      Invoke (This, ISVGLengthList_clear);
   end clear;

   function initialize
     (This    : ISVGLengthList_Type;
      newItem : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_initialize,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => newItem),
         Free);
   end initialize;

   function getItem
     (This  : ISVGLengthList_Type;
      index : GNATCOM.Types.VARIANT;
      Free  : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_getItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index),
         Free);
   end getItem;

   function insertItemBefore
     (This    : ISVGLengthList_Type;
      newItem : GNATCOM.Types.VARIANT;
      index   : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_insertItemBefore,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index,
          2 => newItem),
         Free);
   end insertItemBefore;

   function replaceItem
     (This    : ISVGLengthList_Type;
      newItem : GNATCOM.Types.VARIANT;
      index   : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_replaceItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index,
          2 => newItem),
         Free);
   end replaceItem;

   function removeItem
     (This  : ISVGLengthList_Type;
      index : GNATCOM.Types.VARIANT;
      Free  : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_removeItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index),
         Free);
   end removeItem;

   function appendItem
     (This    : ISVGLengthList_Type;
      newItem : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         ISVGLengthList_appendItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => newItem),
         Free);
   end appendItem;

end MSHTML.ISVGLengthList_Object;

