public RPLTextBox(RPLItemProps rplElementProps)
            : base(rplElementProps)
        {
            RPLTextBoxProps rPLTextBoxProps = rplElementProps as RPLTextBoxProps;

            if (rPLTextBoxProps != null)
            {
                rPLTextBoxProps.Value = null;
                this.m_paragraphs     = null;
                this.m_paragraphCount = 0;
            }
        }
        public RPLItemProps GetItemProps(object rplSource, out byte elementType)
        {
            elementType = 0;
            RPLItemProps rPLItemProps = rplSource as RPLItemProps;

            if (rPLItemProps != null)
            {
                if (rPLItemProps is RPLTextBoxProps)
                {
                    elementType = 7;
                }
                else if (rPLItemProps is RPLChartProps)
                {
                    elementType = 11;
                }
                else if (rPLItemProps is RPLGaugePanelProps)
                {
                    elementType = 14;
                }
                else if (rPLItemProps is RPLMapProps)
                {
                    elementType = 21;
                }
                else if (rPLItemProps is RPLImageProps)
                {
                    elementType = 9;
                }
                else if (rPLItemProps is RPLLineProps)
                {
                    elementType = 8;
                }
                return(rPLItemProps);
            }
            long num = (long)rplSource;

            if (num >= 0 && this.m_rplContext.BinaryReader != null)
            {
                return(RPLReader.ReadElementProps(num, this.m_rplContext, out elementType));
            }
            return(null);
        }
 public RPLTablix(RPLItemProps rplElementProps)
     : base(rplElementProps)
 {
 }