Methods
입력 매개변수
- 엔진 객체의 IsPdfWithTextualContentFromStream 메서드
- 엔진 객체의 IsPdfPortfolioFromStream 메서드
- 엔진 객체의 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;
}
}
이 페이지가 도움이 되었나요?