예제 #1
0
 public MapAreaInfo(string toolTip, object tag, ImageMapArea.ImageMapAreaShape mapAreaShape, float[] coordinates)
 {
     ToolTip      = toolTip;
     MapAreaShape = mapAreaShape;
     Tag          = tag;
     Coordinates  = coordinates;
 }
예제 #2
0
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Shape:
                    m_shape = (ImageMapArea.ImageMapAreaShape)reader.ReadEnum();
                    break;

                case MemberName.Coordinates:
                    m_coordinates = reader.ReadSingleArray();
                    break;

                case MemberName.ToolTip:
                    m_toolTip = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #3
0
        internal ImageMapAreaInstance Add(ImageMapArea.ImageMapAreaShape shape, float[] coordinates, string toolTip)
        {
            ImageMapAreaInstance imageMapAreaInstance = new ImageMapAreaInstance(shape, coordinates, toolTip);

            m_list.Add(imageMapAreaInstance);
            return(imageMapAreaInstance);
        }
 public ImageMapAreaInstance CreateImageMapAreaInstance(ImageMapArea.ImageMapAreaShape shape, float[] coordinates, string toolTip)
 {
     if (!m_chartConstruction && base.ReportElementOwner.CriGenerationPhase != ReportElement.CriGenerationPhases.Instance)
     {
         throw new RenderingObjectModelException(RPRes.rsErrorDuringROMDefinitionWriteback);
     }
     if (coordinates == null || coordinates.Length < 1)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterValue, "coordinates");
     }
     if (m_imageMapAreas == null)
     {
         m_imageMapAreas = new ImageMapAreaInstanceCollection();
     }
     return(m_imageMapAreas.Add(shape, coordinates, toolTip));
 }
 public ImageMapAreaInstance CreateImageMapAreaInstance(ImageMapArea.ImageMapAreaShape shape, float[] coordinates)
 {
     return(CreateImageMapAreaInstance(shape, coordinates, null));
 }
예제 #6
0
 internal ImageMapAreaInstance Add(ImageMapArea.ImageMapAreaShape shape, float[] coordinates)
 {
     return(Add(shape, coordinates, null));
 }
예제 #7
0
 internal ImageMapAreaInstance(Microsoft.ReportingServices.ReportRendering.ImageMapArea renderImageMapArea)
 {
     m_shape       = (ImageMapArea.ImageMapAreaShape)renderImageMapArea.Shape;
     m_coordinates = renderImageMapArea.Coordinates;
 }
예제 #8
0
 internal ImageMapAreaInstance(ImageMapArea.ImageMapAreaShape shape, float[] coordinates, string toolTip)
 {
     m_shape       = shape;
     m_coordinates = coordinates;
     m_toolTip     = toolTip;
 }
예제 #9
0
 internal ImageMapAreaInstance(ImageMapArea.ImageMapAreaShape shape, float[] coordinates)
     : this(shape, coordinates, null)
 {
 }
 public ImageMapAreaInstance(AspNetCore.ReportingServices.ReportRendering.ImageMapArea renderImageMapArea)
 {
     this.m_shape       = (ImageMapArea.ImageMapAreaShape)renderImageMapArea.Shape;
     this.m_coordinates = renderImageMapArea.Coordinates;
 }
 public ImageMapAreaInstance(ImageMapArea.ImageMapAreaShape shape, float[] coordinates, string toolTip)
 {
     this.m_shape       = shape;
     this.m_coordinates = coordinates;
     this.m_toolTip     = toolTip;
 }
 public ImageMapAreaInstance Add(ImageMapArea.ImageMapAreaShape shape, float[] coordinates)
 {
     return(this.Add(shape, coordinates, null));
 }