PDFView4NET WinForms Edition
Import Method




O2S.Components.PDFView4NET.Annotations Namespace > PDFAnnotation Class : Import Method
Source stream for annotation import.
Imports the annotation from the specified stream.
Syntax
'Declaration
 
Public Shared Function Import( _
   ByVal stream As Stream _
) As PDFAnnotation
'Usage
 
Dim stream As Stream
Dim value As PDFAnnotation
 
value = PDFAnnotation.Import(stream)
public static PDFAnnotation Import( 
   Stream stream
)
public: static PDFAnnotation* Import( 
   Stream* stream
) 
public:
static PDFAnnotation^ Import( 
   Stream^ stream
) 

Parameters

stream
Source stream for annotation import.
Exceptions
ExceptionDescription
Thrown when stream is null.
Thrown when the stream does not contain an annotation in a valid format.
Remarks
The stream must contain an annotation previously exported using the Export method.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFAnnotation Class
PDFAnnotation Members