package body MSHTML.IHTMLInputTextElement2_Object is

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

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

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

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

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

end MSHTML.IHTMLInputTextElement2_Object;

