Automation:
void
FillByteMulti
(
[in]
byte
fillval,
[in]
IMultiSelection
pSel)
;
Native (C++):
HRESULT
FillByteMulti
(
[in]
unsigned char
fillval,
[in]
IMultiSelection *
pSel)
;
Parameters
fillvalThe byte to put in the selection.pSelThe multiple selection object, which contains the ranges to fill in the document.Return Value
S_OK or standard OLE error code.
Examples
Filling a range with a single byte
C#Copy Code
// fdoc is initialized elsewhere
FileDocumentLib.IMultiSelection msel = fdoc.CreateEmptySelection();
msel.AddRange(100, 20);
msel.AddRange(200, 30);
fdoc.FillByteMulti(0x35, msel);