Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.GetStream

TElOpenOfficePackage     See also     


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


Retrieves a package entry by path.

Declaration

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

[Java]
    TElStream getStream(String Path, boolean ReadOnly);
    TElStream getStream(String Path);

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