Automation:
void
FillByte
(
[in]
byte
fillval,
[in]
ulong
off,
[in]
ulong
Size)
;
Native (C++):
HRESULT
FillByte
(
[in]
unsigned char
fillval,
[in]
unsigned __int64
off,
[in]
unsigned __int64
Size)
;
Parameters
fillvalThe byte to put in the range.offRange offsetSizeRange sizeReturn Value
S_OK or standard OLE error code.
Examples
Filling a range with a single byte
C#Copy Code
// fdoc is initialized elsewhere
fdoc.FillByte(0x34, 1000, 200);