title: Set the zoom size of the excel using c#
body: <p>i want to set the zoom size in the excel to 75% programmatic before it gets downloaded. The default value is set to 100% by default. Can any one help me out to solve this?</p>
  
  <p>I use the below code to get the data from reports and store it in a byte array </p>
  
  <pre><code> bytes = rptViewer.ServerReport.Render("EXCELOPENXML", deviceInfo,
                      out mimeType, out encoding, out extensions, out streamids, out warnings);
  </code></pre>
  
  <p>Then passing the information to the below method to download the file in excel </p>
  
  <pre><code>private HttpResponseMessage DownloadFile(string mimeType, byte[] bytes, string rptName, string extensions)
      {
          string fileName = rptName + "." + extensions;
          HttpRequestMessage msg = new HttpRequestMessage();
          if (!string.IsNullOrEmpty(fileName))
          {
              HttpResponseMessage response = new HttpResponseMessage();
              response.Content = new ByteArrayContent(bytes);
              response.Content.Headers.Add("x-filename", fileName);
              response.Content.Headers.ContentType = new MediaTypeHeaderValue(mimeType);
              response.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment");
              response.Content.Headers.ContentDisposition.FileName = fileName;
              response.StatusCode = HttpStatusCode.OK;
              return response;
          }
          return msg.CreateResponse(HttpStatusCode.NotFound, "File not found.");
      }
  </code></pre>
  
  <p>so when it get download, it is set to be 100% by default. i want to it to be 75% by default.</p>