AtalaAnnotationViewerOpen Method (Stream, Int32, ProgressEventHandler) |
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Open(
Stream stream,
int frameIndex,
ProgressEventHandler progress
)
Public Sub Open (
stream As Stream,
frameIndex As Integer,
progress As ProgressEventHandler
)
Parameters
- stream
- Type: System.IOStream
A stream containing the image file. - frameIndex
- Type: SystemInt32
The zero based frame index to load. - progress
- Type: Atalasoft.ImagingProgressEventHandler
An event handler used to raise progress events during the load process.
Exceptions Exception | Condition |
---|
| Thrown if the stream argument is null (Nothing in VB). |
| Thrown if the stream does not have read or seek access. |
Remarks If both
AutoLoadXmp and
AutoLoadWang properties are true and both XMP and WANG data is present in the file,
only the XMP data will be loaded to prevent duplicate annotations.
See Also