Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.CreateNew

TElOpenOfficePackage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Creates a new package.

Declaration

[C#/Java]
    void CreateNew(System.IO.Stream Stream, bool OwnStream);

[VB.NET]
    Sub CreateNew(ByVal Stream As System.IO.Stream, ByVal OwnStream As Boolean)

[Pascal]
    procedure CreateNew(Stream : TStream; OwnStream : boolean);

[C++]
    void CreateNew(TStream &Stream, bool OwnStream);
    void CreateNew(TStream *Stream, bool OwnStream);

[PHP]
    void CreateNew(TStream $Stream, bool $OwnStream)

Parameters

  • Stream - stream with the file data
  • OwnStream - specifies if the stream is owned by the component. If this parameter is False, user should take care of stream disposal.

Description

    Use this method to create a new Zip package in the memory stream.

See also:     Close     Flush     Open     CreateEntry     CreateStream    

Discuss this help topic in SecureBlackbox Forum