Hex Editor
Hex Editor - Binary File Editing Software for Windows

IMultiSelection.Empty Property

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Getting property value:
Automation:
bool  value = obj.Empty;
Native (C++):
HRESULT  get_ Empty ( [out, retval]   VARIANT_BOOL *  pEmpty) ;
Parameters
pEmptyPointer to a variable that receives a property value.
Return Value
Automation:Boolean value indicating whether the selection object is empty.Native: S_OK or standard OLE error code.
Remarks
This property is True if the selection object is empty.
Examples

Using the Empty property

JavaScriptCopy Code
var fdoc = new ActiveXObject("FileDocument.FileDocument");
var msel = fdoc.CreateEmptySelection();
alert(msel.Empty); // displays "true"
msel.AddRange(100, 20);  // selection: [100..120)
alert(msel.Empty); // displays "false"
msel.Clear();
alert(msel.Empty); // displays "true"
    
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.