Modifica

Condividi tramite


IInfoPathViewControl.Top Property

Definition

Gets the offset, from the top of the view, of the current control in the enumeration.

public:
 property int Top { int get(); };
public int Top { get; }
member this.Top : int
Public ReadOnly Property Top As Integer

Property Value

The number of pixels the control is from the top of the view.

Remarks

Pixel coordinates are calculated using screenCoordinate values from the MSHTML.DLL document service, which are roughly equivalent to standard CSS values.

For a list of controls that are enumerated in the view, if present, see the GetControls(IEnumUnknown) method of the IInfoPathDataImporterFields interface.

For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer PortalMicrosoft Office Developer Center.

Applies to