Class DocumentOpener
Inheritance
System.Object
DocumentOpener
Assembly: pdftron.PDF.Tools.dll
public class DocumentOpener : ViewModelBase
Constructors
Declaration
Properties
Declaration
public RelayCommand CancelConversionCommand { get; }
Property Value
Declaration
public string CurrentPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
HasPasswordBoxGotContent
Declaration
public bool HasPasswordBoxGotContent { get; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets whether a document is currently being converted. Setting this to false when it was true will cancel conversion.
Declaration
public bool IsConvertingDocument { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsFileOpeningProgressBarVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsIncorrectPasswordNotificationVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsInputDisabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsModal { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPackageDialogOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPasswordDialogOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public RelayCommand PackageDialogBackCommand { get; }
Property Value
Declaration
public PdfPackageViewModel PackageViewModel { get; set; }
Property Value
Declaration
public PasswordViewModel PasswordViewModel { get; set; }
Property Value
Methods
Cancel any current document current in phase of opening
Declaration
public void CancelDocumentOpening()
Declaration
public override bool GoBack()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public Task OpenAsync(StorageFile file, NewDocumentProperties documentProperties = null)
Parameters
Returns
Declaration
public Task OpenNonPdfPreConvertAsync(StorageFile file)
Parameters
Type |
Name |
Description |
Windows.Storage.StorageFile |
file |
|
Returns
Events
Declaration
public event EventHandler<RoutedEventArgs> DocumentLoadingFailed
Event Type
Type |
Description |
Windows.Foundation.EventHandler<Windows.UI.Xaml.RoutedEventArgs> |
|
Declaration
public event DocumentOpener.DocumentReadyDelegate DocumentReady
Event Type
Declaration
public event DocumentOpener.ModalityChangedDelegate ModalityChanged
Event Type