package body MSHTML.IHTMLTextAreaElement2_Object is

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

   function Get_selectionStart
     (This : IHTMLTextAreaElement2_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLTextAreaElement2_Get_selectionStart);
   end Get_selectionStart;

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

   function Get_selectionEnd
     (This : IHTMLTextAreaElement2_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLTextAreaElement2_Get_selectionEnd);
   end Get_selectionEnd;

   procedure setSelectionRange
     (This  : IHTMLTextAreaElement2_Type;
      start : GNATCOM.Types.VARIANT;
      uend  : GNATCOM.Types.VARIANT;
      Free  : Boolean := True)
   is
   begin
      Invoke
        (This,
         IHTMLTextAreaElement2_setSelectionRange,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => uend,
          2 => start),
         Free);
   end setSelectionRange;

end MSHTML.IHTMLTextAreaElement2_Object;

