IHTMLTxtRange::setEndPointIHTMLTxtRange::setEndPoint*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLTxtRange::select
*Next Topic: IHTMLUListElement

IHTMLTxtRange::setEndPoint


HRESULT setEndPoint(
    BSTR how,
    IHTMLTxtRange *SourceRange
);

Sets the end point of one range based on the end point of another.

how
String describing the end points. Can be one of these values:
StartToEnd Sets the start point of the current range to the end point of the given range.
StartToStart Sets the start point of the current range to the start point of the given range.
EndToStart Sets the end point of the current range to the start point of the given range.
EndToEnd Sets the end point of the current range to the end point of the given range.
SourceRange
Interface pointer of the range object to be used for setting the end point of the current range.

See also compareEndPoints


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.