GoDiagram Win Reference
Size Property (GoDocument)

Gets or sets the size of this document.
Syntax
'Declaration
 
<TypeConverterAttribute("Northwoods.Go.GoSizeFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
<DescriptionAttribute("The size of this document.")>
Public Overridable Property Size As SizeF
[TypeConverterAttribute("Northwoods.Go.GoSizeFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
[DescriptionAttribute("The size of this document.")]
public virtual SizeF Size {get; set;}

Property Value

The SizeF value is in document coordinates and should have non-negative width and height.
Remarks
The default behavior is that this property automatically expands to include all of the objects in the document. This policy is implemented in UpdateDocumentBounds. Set FixedSize to avoid this default policy, or override UpdateDocumentBounds to implement your own policy. This property automatically affects what a view can show and where the user can scroll to.
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

GoDocument Class
GoDocument Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback