方法
输入参数
- Engine 对象的 IsPdfWithTextualContentFromStream 方法
- Engine 对象的 IsPdfPortfolioFromStream 方法
- Engine 对象的 CreateLayoutFromStream 方法
- 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;
}
}
此页面对您有帮助吗?