IInfoPathViewControl.Top Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.