private int?GetLegendSymbolSize()
 {
     if (this.m_pointTemplateMapper == null)
     {
         return(PointTemplateMapper.GetDefaultSymbolSize(this.m_mapMapper.DpiX));
     }
     return(this.m_pointTemplateMapper.GetSize(this.GetMapPointTemplate(), false));
 }
        public int GetSize(MapPointTemplate mapPointTemplate, bool hasScope)
        {
            ReportSizeProperty size = mapPointTemplate.Size;

            if (size != null)
            {
                if (!size.IsExpression)
                {
                    return(MappingHelper.ToIntPixels(size.Value, base.m_mapMapper.DpiX));
                }
                if (hasScope)
                {
                    return(MappingHelper.ToIntPixels(mapPointTemplate.Instance.Size, base.m_mapMapper.DpiX));
                }
                return(PointTemplateMapper.GetDefaultSymbolSize(base.m_mapMapper.DpiX));
            }
            return(PointTemplateMapper.GetDefaultSymbolSize(base.m_mapMapper.DpiX));
        }