Discuss this help topic in SecureBlackbox Forum

TElOfficePackagePart.GetStream

TElOfficePackagePart     See also     


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


Provides access to the stream containing package part data.

Declaration

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

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

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

[C++]
    TStreamHandle GetStream();
    TStreamHandle GetStream(bool ReadOnly);

[PHP]
    TStream GetStream()
    TStream GetStream(bool $ReadOnly)

Parameters

  • ReadOnly - specifies if the stream should be opened read-only

Return value

    Returns stream object that contains package part data.

Description

    Use this method to get access to the stream with actual data of the package part.

See also:     CloseStream     GetRelationshipsStream    

Discuss this help topic in SecureBlackbox Forum