Esempio n. 1
0
 /// <summary>
 /// Returns a png image for the given page.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='envelopeId'>
 /// The id for the envelope. NO Bulk id.
 /// </param>
 /// <param name='docRefNumber'>
 /// The document number (starting with 1)
 /// </param>
 /// <param name='pageNumber'>
 /// The page number (starting with 1)
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> DownloadPageImageAsync(this IEnvelope operations, string envelopeId, string docRefNumber, string pageNumber, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DownloadPageImageWithHttpMessagesAsync(envelopeId, docRefNumber, pageNumber, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }