Discuss this help topic in SecureBlackbox Forum
This event is fired when a temporary stream should be created.
Declaration
[Java]
TSBOfficeCreateTemporaryStreamEvent getOnCreateTemporaryStream();
void setOnCreateTemporaryStream(TSBOfficeCreateTemporaryStreamEvent Value);
TSBOfficeCreateTemporaryStreamEvent.Callback OnCreateTemporaryStream = new TSBOfficeCreateTemporaryStreamEvent.Callback() {
public void TSBOfficeCreateTemporaryStreamEventCallback(TObject arg0, long arg1, TElOfficeCreateTemporaryStreamEventParams arg2) {
//...
}
}
Parameters
- ExpectedSize - expected size of the stream
- Stream - the stream that is needed
- FreeOnClose - set this parameter to True if the stream should be automatically freed
Description
This event is fired by TElOfficeOpenXMLPackage when a temporary stream is needed.
The handler should create a stream object and pass it via the
Stream parameter.
Set
FreeOnClose parameter to
True if you don't want
OnCloseTemporaryStream to be fired on stream closing.
Discuss this help topic in SecureBlackbox Forum