GoDiagram Win Reference
PrintDocumentSize Property

Gets the size of the document to be printed.
Syntax
'Declaration
 
<CategoryAttribute("Printing")>
Public Overridable ReadOnly Property PrintDocumentSize As SizeF
[CategoryAttribute("Printing")]
public virtual SizeF PrintDocumentSize {get;}

Property Value

This SizeF value represents the size of the portion of the document to be printed, in document coordinates.
Remarks

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.

Requirements

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

See Also

Reference

GoView Class
GoView Members
PrintDocumentTopLeft Property
DocumentSize Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback