public ImageMapArea(ImageMapAreaInstance mapAreaInstance, RenderingContext renderingContext) { this.m_members = new ImageMapAreaRendering(); this.Rendering.m_mapAreaInstance = mapAreaInstance; this.Rendering.m_renderingContext = renderingContext; if (mapAreaInstance != null) { this.m_id = mapAreaInstance.ID; this.m_shape = mapAreaInstance.Shape; this.m_coordinates = mapAreaInstance.Coordinates; } }
internal ImageMapArea(ImageMapAreaInstance mapAreaInstance, RenderingContext renderingContext) { m_members = new ImageMapAreaRendering(); Rendering.m_mapAreaInstance = mapAreaInstance; Rendering.m_renderingContext = renderingContext; if (mapAreaInstance != null) { m_id = mapAreaInstance.ID; m_shape = mapAreaInstance.Shape; m_coordinates = mapAreaInstance.Coordinates; } }
public void SetCoordinates(ImageMapAreaShape shape, float[] coordinates) { if (!this.IsCustomControl) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation); } if (coordinates == null) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterValue, "coordinates"); } this.m_shape = shape; this.m_coordinates = coordinates; }