/// <summary>
        /// Construct Url based on parameer provided which also included outputFormat (image type)
        /// </summary>
        /// <param name="reportPath">>Report Path</param>
        /// <param name="renderFormat">Render Format and settings</param>
        /// <param name="snapshotID">If available snapshot id</param>
        /// <param name="startPage">starting page</param>
        /// <param name="endPage">ending page</param>
        /// <param name="sessiondId">session id</param>
        /// <param name="parameterValues">Paremeter values</param>
        /// <returns>Fully constructred URL based on parameters provided</returns>
        public string ConstructUrl(string reportPath, RSRenderStruct renderFormat, string snapshotID, int startPage, int endPage, string sessiondId, NameValueCollection parameterValues)
        {
            string url = URLAccessor.GetUrl(reportPath, renderFormat, parameterValues);

            if (!string.IsNullOrEmpty(snapshotID))
            {
                url = "&rs:Snapshot=" + snapshotID;
            }

            if (startPage != 0)
            {
                if (String.Compare(renderFormat.RenderFormat, "HTML4.0", true) == 0)
                {
                    url += "&rc:Section=" + startPage;
                }
                else
                {
                    url += "&rc:StartPage=" + startPage;
                }
            }

            if ((endPage != 0) && (string.Compare(renderFormat.RenderFormat, "HTML4.0", true) != 0))
            {
                url += "&rs:EndPage=" + endPage;
            }

            if (!string.IsNullOrEmpty(sessiondId))
            {
                url += "&rs:SessionID=" + sessiondId;
            }

            return(url);
        }
 /// <summary>
 /// Construct Url to make URL access request.
 /// </summary>
 /// <param name="reportPath">Report Path</param>
 /// <param name="renderFormat">Render Format and settings</param>
 /// <param name="parameterValues">Parameter for report</param>
 /// <returns>Constructed Url</returns>
 public string ConstructUrl(string reportPath, RSRenderStruct renderFormat, NameValueCollection parameterValues)
 {
     return(URLAccessor.GetUrl(reportPath, renderFormat, parameterValues));
 }