|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRay Interface > IRay.Origin Property (ArcObjects .NET 10.4 SDK) | 
The origin point of the ray.
[Visual Basic .NET] Public Property Origin As IPoint
[C#] public IPoint Origin {get; set;}
[C++]
HRESULT get_Origin(
  IPoint** vectorOrigin
);
[C++]
HRESULT put_Origin(
  IPoint* vectorOrigin
);
[C++]
Parameters vectorOrigin [out, retval]
vectorOrigin is a parameter of type IPoint vectorOrigin
vectorOrigin is a parameter of type IPoint
Returns and sets the Origin of the Ray. The Origin is the starting Point from which the Ray infinitely extends in the direction of its vector.
