Determines whether the document is currently being loaded with pages.
Syntax
Visual Basic (Declaration) | |
---|
Public Property InProgress As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Document
Dim value As Boolean
instance.InProgress = value
value = instance.InProgress
|
C# | |
---|
public bool InProgress {get; set;} |
Return Value
A Boolean value.
True if the document loading is currently in progress; otherwise,
false.
Example
C# | Copy Code |
---|
private void frmViewer_Load(object
sender, System.EventArgs e)
{
if (arv.Document.InProgress)
{
this.progressBar1.Visible = true;
}
else
{
this.progressBar1.Visible = false;
}
} |
Visual Basic | Copy Code |
---|
Private Sub frmViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If arv.Document.InProgress Then
Me.ProgressBar1.Visible = True
Else
Me.ProgressBar1.Visible = False
End If
End Sub |
See Also