Declaration
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 size
Return Value
S_OK or standard OLE error code.
Remarks
Fills a given range with a single byte value. Complexity: constant-time.
Examples

Filling a range with a single byte

C#Copy Code
// fdoc is initialized elsewhere
fdoc.FillByte(0x34, 1000, 200);