CanvasPrintDocumentInvalidatePreview Method |
Namespace: Microsoft.Graphics.Canvas.Printing
public void InvalidatePreview()
The system will automatically invalidate if the page size has changed. However, if there are other options that affect the way that the preview is generated (eg PrintPageDescription.ImageableRect or PrintTaskOptions.ColorMode) then the app should explicitly call InvalidatePreview().
The PrintTaskOptionsChanged event is raised whenever an option is changed and this would be an appropriate place to examine the new options to see if the preview needs invalidating.