Share via


FormGroupControl.topMargin Method

Sets or returns the top margin for a form group control in pixels and specifies whether the size is automatically adjusted.

Syntax

public int topMargin([int value, AutoMode mode])

Run On

Client

Parameters

  • value
    Type: int
    An integer that specifies the size of the top margin for a form group control in pixels; optional.
  • mode
    Type: AutoMode Enumeration
    An AutoMode enumeration value that specifies whether the size of the top margin is fixed, or whether it is automatically adjusted based on other form property settings; optional.

Return Value

Type: int
An integer that specifies the size of the top margin for a form group control in pixels.

See Also

Reference

FormGroupControl Class