Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
FitWidthToPages
posted

Hi,

We're trying to build a more robust PrintPreview dialog, using the UltraPrintPreview control. As part of this, we'd like to give the user the ability to choose how many pages the grid will print out on. But we've run into a problem with UltraGridPrintDocument.FitWidthToPages.

There seems to be no way to set the property's value. We'd like to set the this value at the creation of the instance, not during the InitializePrintPreview event (we're not using the grid's PrintPreview() method - so InitializePrintPreview and e.DefaultLogicalPageLayoutInfo.FitWidthToPages are not available), but even though the property is documented as writeable, changing it never has any effect. Is this intended?

Thanks for any help