WYSIWYG-Printing

Hello,

I have a Problem with Printing:
If I place any Object on a GoView, drag it to the horizontal and vertical Center of the Control and start printing, the Object is printed in the upper left corner of the paper.

How can I prevent that GoView cuts of the empty Space on the Left and the top of the Object before printing?

Well, one solution is to set GoView.BackgroundHasSheet to true and set GoView.SheetStyle to some GoViewSheetStyle value other than None.

Another possibility is to set GoView.ShowsNegativeCoordinates to false.
Finally, a third strategy is to override GoView.PrintDocumentTopLeft and PrintDocumentSize properties to return the values you prefer.
(The standard implementation of those two properties is affected by the properties I mentioned in the first two alternatives.)

Works perfect, thank you!