Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.CreateNew

TElOpenOfficePackage     See also     


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


Creates a new package.

Declaration

[C#]
    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)

[Java]
    void createNew(TElStream Stream, boolean 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