ArcMapAddinCoordinateConversion.ArcMapCoordinateGet.CanGetUSNG C# (CSharp) 메소드

CanGetUSNG() 공개 메소드

public CanGetUSNG ( int srFactoryCode, string &coord ) : bool
srFactoryCode int
coord string
리턴 bool
        public override bool CanGetUSNG(int srFactoryCode, out string coord)
        {
            coord = string.Empty;
            if (Point != null)
            {
                try
                {
                    Project(srFactoryCode);
                    var cn = Point as IConversionNotation;
                    coord = cn.GetUSNGFromCoords(5, true, false);
                    return true;
                }
                catch { }
            }
            return false;
        }

Same methods

ArcMapCoordinateGet::CanGetUSNG ( string &coord ) : bool