Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.GetStream

TElOpenOfficePackage     See also     


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


Retrieves a package entry by path.

Declaration

[C#/Java]
    System.IO.Stream GetStream(string Path);
    System.IO.Stream GetStream(string Path, bool ReadOnly);

[VB.NET]
    Function GetStream(ByVal Path As String) As System.IO.Stream
    Function GetStream(ByVal Path As String, ByVal ReadOnly As Boolean) As System.IO.Stream

[Pascal]
    function GetStream(Path : string) : TStream;
    function GetStream(Path : string; ReadOnly : boolean) : TStream;

[C++]
    TStreamHandle GetStream(const std::string &Path);
    TStreamHandle GetStream(const std::string &Path, bool ReadOnly);

[PHP]
    TStream GetStream(string $Path)
    TStream GetStream(string $Path, bool $ReadOnly)

Parameters

  • Path - path to the entry
  • ReadOnly - specifies whether the entry should be opened in the read-only mode

Return value

    Returns the stream object that contains the entry data.

Description

    Use this method to access individual entries of the package.

See also:     CloseStream     CreateStream     DeleteStream     StreamExists    

Discuss this help topic in SecureBlackbox Forum