GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / Size Property
In This Topic
    Size Property (GoDocument)
    In This Topic
    Gets or sets the size of this document.
    Syntax
    [Description("The size of this document.")]
    [TypeConverter(Northwoods.Go.GoSizeFConverter)]
    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.
    See Also