[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AppendStarSizeConstraint

AppendStarSizeConstraint Method

AppendStarSizeConstraint(TargetParam, float)

Adds a StarWidth or StarHeight constraint.

Declaration
public StarSizeConstraint AppendStarSizeConstraint(TargetParam targetParam, float starSize)
Public Function AppendStarSizeConstraint(targetParam As TargetParam, starSize As Single) As StarSizeConstraint
Parameters
Type Name Description
TargetParam targetParam

The target parameter of the current LayoutRect.

float starSize

The proposed star width or height (weight).

Returns
Type Description
StarSizeConstraint

New constraint just added.