public class ByteContentStreamSource extends StreamSource
Represents a stream source based on _content stream.
| Constructor and Description |
|---|
ByteContentStreamSource(byte[] fileContent)
Initializes new
ByteContentStreamSource object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clones the ByteContentStreamSource object.
|
InputStream |
getFontStream()
Returns Font file stream.
|
getOffset, mustCloseAfterUse, setOffsetpublic ByteContentStreamSource(byte[] fileContent)
Initializes new ByteContentStreamSource object.
fileContent - File bytes.public InputStream getFontStream()
Returns Font file stream. Don't forget to close the stream after use.
getFontStream in class StreamSourcepublic Object deepClone()
Clones the ByteContentStreamSource object.
deepClone in class StreamSourceCopyright © 2025 Aspose. All Rights Reserved.