控件中的两端无限长的射线类型
[ object, uuid(9ED725FD-68CF-49E1-85F0-393F90D63ED5), dual, nonextensible, helpstring("IMxDrawRay interface"), pointer_default(unique) ] interface IMxDrawRay : IMxDrawCurve;
MxDrawRay.idl
例如: C#
MxDrawDatabase database = (MxDrawDatabase)axMxDrawX1.GetDatabase(); MxDrawBlockTableRecord curSpace = database.CurrentSpace(); curSpace.AddRay(100, 100, 200, 200);