Version

SetSpanGC Method

Sets the Span and/or labelSpan properties on an item after a Span Resize.
Syntax
'Declaration
 
Function SetSpanGC( _
   ByVal itemBeingDragged As ILayoutItem, _
   ByVal spanX As Integer, _
   ByVal spanY As Integer, _
   ByVal labelSpanX As Integer, _
   ByVal labelSpanY As Integer, _
   ByVal preferredLabelWidth As Integer, _
   ByVal preferredLabelHeight As Integer, _
   ByVal preferredCellWidth As Integer, _
   ByVal preferredCellHeight As Integer _
) As Boolean

Parameters

itemBeingDragged
The item currently being dragged.
spanX
The new SpanX to assign to the constraints of the item being dragged.
spanY
The new SpanY to assign to the constraints of the item being dragged.
labelSpanX
The new LabeSpanX to assign to the constraints of the item being dragged.
labelSpanY
The new LabelSpanX to assign to the constraints of the item being dragged.
preferredLabelWidth
The new preferredLabelWidth to assign to the constraints of the item being dragged.
preferredLabelHeight
The new preferredLabelHeight to assign to the constraints of the item being dragged.
preferredCellWidth
The new preferredCellWidth to assign to the constraints of the item being dragged.
preferredCellHeight
The new preferredCellHeight to assign to the constraints of the item being dragged.
Remarks
This is called after a Span Resize operation to set the new constraints on the item.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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