Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : PrintDocumentSize Property |
'Declaration <CategoryAttribute("Printing")> Public Overridable ReadOnly Property PrintDocumentSize As SizeF
[CategoryAttribute("Printing")] public virtual SizeF PrintDocumentSize {get;}
SizeF
value represents the size of the portion of the document to be printed, in document coordinates.This is normally just the size needed to include all of the objects in the document, by calling ComputeDocumentBounds()
. This avoids printing a lot of empty pages if the document size is much larger than needed, perhaps because some objects have been deleted, but the document size has not been shrunk accordingly.
When the SheetStyle is not GoViewSheetStyle.None, only one page is printed, corresponding to where the sheet is. In these cases, this property has the value of the sheet's MarginBounds size.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2