Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

startOffset property

Retrieves the offset of the starting boundary point relative to the IHTMLDOMRange::startContainer in the current range.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

Syntax

HRESULT value = object.get_startOffset(* lOffset);

Property values

Type: long

the offset value.

Standards information

Remarks

If the boundary point offset is within a container that is not a character data node, the offset is essentially a count based on where it falls between child nodes. For example, the offset is 0 if it falls before the first child and 1 if it is between the first and second child. If the offset is within a character data node container, the value represents 16-bit unit positions.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.