Table of Contents
SendToClient Property

Gets or sets a value indicating whether to send the conversion result to the client.

Syntax
 public static Boolean SendToClient { get; set; }
Remarks

By default this property is true, in that case the result PDF file is sent to the client, either directly open in the browser window (when ResultAsDownload is false) or as a download (when ResultAsDownload is true). Set this property to false if you do not send the result to the client. In that case you can use Result property to fetch the conversion result.

Note this property is only used when RenderAsPDF is manually called. When RenderAsPDF is automatically called, you should use RenderAsPdfAttribute.SendToClient instead.

See Also