GoDiagram Web Reference
Size Property (GoDocument)

Gets or sets the size of this document.
Syntax
'Declaration
 
<DescriptionAttribute("The size of this document.")>
<TypeConverterAttribute("Northwoods.GoWeb.GoSizeFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
Public Overridable Property Size As SizeF
[DescriptionAttribute("The size of this document.")]
[TypeConverterAttribute("Northwoods.GoWeb.GoSizeFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback