AtalaAnnotationViewer.Open Method (String, 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)
Syntaxpublic void Open(
string fileName,
int frameIndex,
ProgressEventHandler progress
)
Public Sub Open (
fileName As String,
frameIndex As Integer,
progress As ProgressEventHandler
)
Parameters
- fileName
- Type: System.String
The filename of the image to open. - frameIndex
- Type: System.Int32
The zero based frame index to load. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
An event handler used to raise progress events during the load process.
ExceptionsException | Condition |
---|
| Thrown if the fileName argument is null (Nothing in VB). |
| Thrown if the fileName is an empty string. |
| Thrown if the filename cannot be found. |
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