方法
輸入參數
- IsPdfWithTextualContentFromStream 方法,屬於 Engine 物件
- IsPdfPortfolioFromStream 方法,屬於 Engine 物件
- CreateLayoutFromStream 方法,屬於 Engine 物件
- Linux 和 Windows 中 FRDocument 物件的 AddImageFileFromStream 方法
範例
C# 程式碼
C# 程式碼
C# 程式碼
class ReadStream : IReadStream
{
private MemoryStream fileBytes = null;
public ReadStream( byte[] _fileBytes )
{
fileBytes = new MemoryStream( _fileBytes );
}
public void Close()
{
fileBytes.Close();
}
public int Read( out byte[] data, int count )
{
data = new byte[count];
int readBytes = fileBytes.Read( data, 0, count );
return readBytes;
}
}
這個頁面有幫助嗎?