C-DEngine 5.105

TheNMIEngine..::..AddSpacer Method

Adds a spacer to a Form to create padding/margin in forms

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static TheFieldInfo AddSpacer(
	TheThing pBaseThing,
	TheFormInfo pForm,
	int pFldOrder,
	int width,
	int height,
	ThePropertyBag pPropertyBag
)
Public Shared Function AddSpacer ( _
	pBaseThing As TheThing, _
	pForm As TheFormInfo, _
	pFldOrder As Integer, _
	width As Integer, _
	height As Integer, _
	pPropertyBag As ThePropertyBag _
) As TheFieldInfo
public:
static TheFieldInfo^ AddSpacer(
	TheThing^ pBaseThing, 
	TheFormInfo^ pForm, 
	int^ pFldOrder, 
	int^ width, 
	int^ height, 
	ThePropertyBag^ pPropertyBag
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Owning Thing
pForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Form to insert the spacer in
pFldOrder
Type: Int32
Fld Order of the spacer
width
Type: Int32
Width in Tiles - TileFactorX default is 2. Resulting spacer default is TileSize/2 (39px)
height
Type: Int32
Height in Tiles - TileFactorY default is 2. Resulting spacer default is TileSize/2 (39px)
pPropertyBag
Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Additional Propertybag for the spacer

Return Value