Class ViewerPageSettingsViewModel
All the settings regarding the current ViewerPage are centralized here.
Inheritance
System.Object
ViewerPageSettingsViewModel
Assembly: pdftron.PDF.Tools.dll
Syntax
public class ViewerPageSettingsViewModel : ViewModelBase
Constructors
ViewerPageSettingsViewModel()
Declaration
public ViewerPageSettingsViewModel()
ViewerPageSettingsViewModel(PdfViewCtrlTabInfo)
Declaration
public ViewerPageSettingsViewModel(PdfViewCtrlTabInfo tab)
Parameters
Fields
SEPIA_BLACK
Declaration
public static Color SEPIA_BLACK
Field Value
Type |
Description |
Windows.UI.Color |
|
SEPIA_WHITE
Declaration
public static Color SEPIA_WHITE
Field Value
Type |
Description |
Windows.UI.Color |
|
Properties
CanCrop
Declaration
public bool CanCrop { get; }
Property Value
Type |
Description |
System.Boolean |
|
ColorMode
Declaration
public CustomColorModeType ColorMode { get; set; }
Property Value
CropViewCommand
Declaration
public RelayCommand CropViewCommand { get; }
Property Value
CustomColorCommand
Declaration
public RelayCommand CustomColorCommand { get; }
Property Value
ExitFullScreenCommand
Declaration
public RelayCommand ExitFullScreenCommand { get; }
Property Value
FullScreenCommand
Declaration
public RelayCommand FullScreenCommand { get; }
Property Value
IsContinuousOption
Declaration
public bool IsContinuousOption { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsConverting
Declaration
public bool IsConverting { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCropViewVisible
Change the visbility of the Crop View button
Declaration
public bool IsCropViewVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsCurrentPagePresentationModeFacing
Declaration
public bool IsCurrentPagePresentationModeFacing { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCurrentPagePresentationModeFacingCover
Declaration
public bool IsCurrentPagePresentationModeFacingCover { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCurrentPagePresentationModeSinglePage
Declaration
public bool IsCurrentPagePresentationModeSinglePage { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsFullScreen
Declaration
public bool IsFullScreen { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsReflow
Declaration
public bool IsReflow { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsRightToLeftEnabled
Enable Right To Left reading direction for the current selected tab
Declaration
public bool IsRightToLeftEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsRightToLeftVisible
Change the visibility of the Right to Left reading direction option
Declaration
public bool IsRightToLeftVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsThumbnailViewVisible
Change the visbility of the ThumbnailView button
Declaration
public bool IsThumbnailViewVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PagePresentationMode
Declaration
public PDFViewCtrlPagePresentationMode PagePresentationMode { get; set; }
Property Value
Type |
Description |
PDFViewCtrlPagePresentationMode |
|
PagePresentationModeCommand
Declaration
public RelayCommand PagePresentationModeCommand { get; }
Property Value
PDFViewCtrl
Declaration
public PDFViewCtrl PDFViewCtrl { set; }
Property Value
Type |
Description |
PDFViewCtrl |
|
ReflowCommand
Declaration
public RelayCommand ReflowCommand { get; }
Property Value
RotateCommand
Declaration
public RelayCommand RotateCommand { get; }
Property Value
ThumbnailViewCommand
Declaration
public RelayCommand ThumbnailViewCommand { get; }
Property Value
Methods
CleanUp()
Important to call this when done, as the subscription to
ApplicationView.GetForCurrentView().VisibleBoundsChanged prevents it from being GCd
Declaration
UpdateSettings()
Declaration
public void UpdateSettings()
Events
ViewRequestedHandler
Declaration
public event ViewerPageSettingsViewModel.ViewRequestedDelegate ViewRequestedHandler
Event Type
VisibleBoundsChanged
Declaration
public event TypedEventHandler<ApplicationView, object> VisibleBoundsChanged
Event Type
Type |
Description |
Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView, System.Object> |
|