Viscomsoft UWP PDF Viewer SDK

PDFPrintManager.CancelPrinting Property

 

Enable/Disable cancel printing.
 
 C#

public bool CancelPrinting { get; set;}  

 



Namespace: Viscomsoft.UWP.PDFViewerSDK;



Example

   

[C# Syntax] 
using Viscomsoft.UWP.PDFViewerSDK;
   
private async Task close()
{
  if(_printManager!=null)
  _printManager.CancelPrinting = true;

  if (_pdfDisplayManager != null)
  {
  await _pdfDisplayManager.Document.CloseAsync();
  _pdfDisplayManager = null;
  }

}