PDFDoc Constructor (IRandomAccessStream) |
Creates a new PDF document from an IRandomAccessStream instance.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public PDFDoc(
IRandomAccessStream randomAccessStream
)
Public Sub New (
randomAccessStream As IRandomAccessStream
)
public:
PDFDoc(
[InAttribute] IRandomAccessStream^ randomAccessStream
)
pdftron.PDF.PDFDoc = function(randomAccessStream);
Parameters
- randomAccessStream
- Type: IRandomAccessStream
An random access stream where the source PDF document can be read from.
Remarks
Make sure to call InitSecurityHandler to check whether the document is encrypted.
It is recommended to pass an IRandomAccessStream instance opened with Read FileAccessMode
only. Passing an IRandomAccessStream instance opened with ReadWrite FileAccessMode may
cause unwanted behaviours.
See Also