How to display Sheet

Hi

I have a question.
I would like to show the sheet which is possible to change sizes on GodrawView.

Depending on the sheet size ruler will also be adjusted.
Excuding negative Coordinates and represents only the specified size(ex, 0 ~ 100)
Is it possible to adjust the sheet size using properties(documentsize or PaperSize) on Runtime.?

please give me some advice and example code.

thanks.

Yes, if you have created a Sheet, it defaults to the settings in DefaultPageSettings of the .NET PrintDocument object. (see the documentation for the GoView CreateSheet method for details.) http://www.nwoods.com/products/godiagram/docs/GoWin5.0.0/webframe.html#Northwoods.Go~Northwoods.Go.GoView~CreateSheet.html

You can change the size of the sheet by calling sheet.UpdateBounds with a PageSettings object.

We don’t provide any built-in user interface for doing that.

If I create sheet on document of view, how to fix the topleft point of sheet (0, 0).
and I don’t want to display negative coordinates on Rulers.
When I zoom in/out the view, sheet should be fixed in the upper left corner of View.

sorry, my english expression is low…

please reply. thank you.

Look at overriding GoView.LimitDocPosition.