package body MSHTML.ISVGPathSegList_Object is

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

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

   procedure clear
     (This : ISVGPathSegList_Type)
   is
   begin
      Invoke (This, ISVGPathSegList_clear);
   end clear;

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

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

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

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

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

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

end MSHTML.ISVGPathSegList_Object;

