GoDiagram Web Reference
ComputeCollapsedRectangle Method

a SizeF in document coordinates, normally the result of a call to ComputeCollapsedSize
Given a desired collapsed size, return the expected collapsed area, ignoring any collapsed margins.
Syntax
'Declaration
 
Protected Overridable Function ComputeCollapsedRectangle( _
   ByVal s As SizeF _
) As RectangleF
protected virtual RectangleF ComputeCollapsedRectangle( 
   SizeF s
)

Parameters

s
a SizeF in document coordinates, normally the result of a call to ComputeCollapsedSize

Return Value

a RectangleF in document coordinates that is passed to calls to SaveChildBounds, CollapseChild, and FinishCollapse.
Remarks
This depends on the result of a call to ComputeReferencePoint. See also the example in the description for LayoutHandle.
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

GoSubGraph Class
GoSubGraph Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback