Version 10
Version 9
Version 8
Version 7
Version 6
Version: 9.1.1.78644
Release Date: October 25th, 2021
Declaration | |
|---|---|
From: | TabControlViewModel.FixedButtonClicked |
To: | TabControlViewModel.BrowseDocumentRequested |
With the new AudioControl it is possible to record voice, play, pause and stop recording sessions and create sound annotations while continue working on the document

Now the ViewerControl supports the creation of new documents by creating a blank PDF with a specific paper type or creating it from an image like a scanned file.

The context menu has been enahanced adding a second row of tools and an expandable flyout menu which can be used for extra features like Reset Zoom, Paste Annotation, etc.

New Methods
void ToolManager.DeleteAnnotation(PDFViewCtrl, IAnnot, int)async Task<StorageFile> DocumentManager.SaveToTemporaryFileAsync(PDFDoc, string, bool)Outline.DisposeOutlineViewModel.Dispose()OutlineDialogViewModel.Dispose()void ReflowView.SetColorPostProcessingMode(PDFRasterizerColorPostProcessMode, Windows.UI.Color, Windows.UI.Color)static async Task<StorageFile> DocumentManager.SaveAudioStreamToDiskAsync(IRandomAccessStream)static async Task DocumentManager.CleanupTempAudioFilesFromDiskAsync()bool UtilityFunctions.IsAudioCaptureAvailable()static void UtilityFunctions.ShowToastNotification(string, string, uint)static async Task<IRandomAccessStream> UtilityFunctions.ConvertToRandomAccessStreamAsync(MemoryStream)static byte[] UtilityFunctions.SwapByteArray(byte[])static async Task UtilityFunctions.RunAsyncSaferAsync(CoreWindow, DispatchedHandler)static async Task UtilityFunctions.RunAsyncSaferAsync(CoreWindow, Func<Task>)New Properties
ViewerViewModel.IsAudioControlVisibleAudioControl SoundControlBooleanToBackgroundColorConverter.SelectedBrushPropertyBooleanToBackgroundColorConverter.SelectedBrushBooleanToBackgroundColorConverter.UnSelectedBrushPropertyBooleanToBackgroundColorConverter.UnSelectedBrushbool ViewerControl.IscurrentDocumentModifiedbool FreehandCreate.AllowDrawingDotNew Events
ToolManager.OnSoundAnnotRequestedViewerControl.DocumentModifiedViewerViewMode.DocumentModifiedTabControlViewModel.CreateDocumentRequestedNew Commands
TabControlViewModel.CMDBrowseDocumentTabControlViewModel.CMDCreateDocumentNew Enum - pdftron.PDF.Tools.Controls.FloatingBoundary
NoneParentWindowNew Enum - pdftron.PDF.Tools.Controls.FloatingStartPosition
TopLeftBottomCenterNew Class - pdftron.PDF.Tools.Controls.FloatingContentControl
bool DraggableFloatingBoundary BoundaryFloatingStartPosition StartPositionNew Control - pdftron.PDF.Tools.Controls.ContextMenuControl
ContextMenuControl(pdftron.PDF.PDFViewCtrl)ContextMenuControl(pdftron.PDF.PDFViewCtrl, Dictionary<string, string>)void Show(UIPoint)void Hide()bool IsOpen()bool ShowOverflow()double HorizontalOffset()double VerticalOffset()int MaxButtonsPerRow()int OverflowContainerRow()ObservableCollection<Button> ButtonCollection()ObservableCollection<MenuFlyoutItem> OverflowCollection()void CreateOverflowFromDictionary(Dictionary<string, string>)void AddItemToOverflowCollection(MenuFlyoutItem)void AddButtonToCollection(Button, bool)void CreateButtonsFromDictionary(Dictionary<string, string>)void ClearButtonCollection()void ClearOverflowCollection()void InitBaseTools()event ContextMenuControlViewModel.ItemClickedDelegate ItemClickedNew Class - ContextMenuControlViewModel
ContextMenuControlViewModel(pdftron.PDF.PDFViewCtrl)ContextMenuControlViewModel(pdftron.PDF.PDFViewCtrl, Dictionary<string, string>)void Show()void Show(UIPoint)void Hide(bool)void CreateOverflowFromDictionary(Dictionary<string, string>)void AddItemToOverflowCollection(MenuFlyoutItem)void AddButtonToCollection(Button, bool)void CreateButtonsFromDictionary(Dictionary<string, string>)void ClearButtonCollection()void ClearOverflowCollection()void InitBaseTools()void TargetSquare(double, double, double, double)void TargetPoint(UIPoint pt)void Dispose()bool IsOpenbool ShowOverflowdouble HorizontalOffsetdouble VerticalOffsetint MaxButtonsPerRowint OverflowContainerRowObservableCollection<Button> ButtonCollectionObservableCollection<MenuFlyoutItem> OverflowCollectionevent ItemClickedDelegate ItemClickedNew Class - pdftron.PDF.Tools.Controls.Multimedia.AudioControl
AudioControl(PDFViewCtrl, Windows.Foundation.Point)AudioControlViewModel ViewModelbool IsReadyasync Task<bool> InitializeAsync()StorageFile RecordedFile()void CloseControl()void Dispose()event OnCloseRequestedHandler CloseRequestedevent OnRecordingCompletedHandler RecordingCompletedNew Enum - pdftron.PDF.Tools.Controls.ViewModels.Multimedia.AudioPlayerMode
RecordAndPlayPlayOnlyNew Class - pdftron.PDF.Tools.Controls.ViewModels.Multimedia.AudioControlViewModel
AudioControlViewModel(PDFViewCtrl, Windows.Foundation.Point, AudioPlayerMode)bool IsRecButtonVisiblebool IsRecTimeVisiblebool IsPlayButtonVisiblebool IsPauseRecordingButtonVisiblebool IsPlaybackButtonVisiblebool CanPlayPreviewbool IsRecordingbool IsRecordingInProgressstring TotalTimestring ElapsedTimedouble SliderPositionbool IsReadyStorageFile RecordedFileasync Task<bool> InitAsync()void Dispose()ICommand CMDRecordAudioICommand CMDPauseRecordingICommand CMDCloseAudioICommand CMDPlayPlaybackICommand CMDPausePlaybackICommand CMDStopAudioevent OnCloseRequestedHandler CloseRequestedevent OnRecordingCompletedHandler RecordingCompletedNew Class - pdftron.PDF.Tools.Controls.Multimedia.AudioGraphPlayer
AudioGraphPlayer()async Task InitAudioGraphAsync()async Task LoadFileAsync(StorageFile)void Play()void Stop()New Class - pdftron.PDF.Tools.Controls.CreateDocControl
CreateBlankDocControl()CreateDocControlViewModel ViewModelvoid Dispose()event NewDocumentCreatedevent DocumentCreationFailedNew Class - pdftron.PDF.Tools.Controls.CreateImageDocControl
CreateImageDocControl()CreateDocControlViewModel ViewModelNew Class - pdftron.PDF.Tools.Controls.CreateBlankDocControl
CreateBlankDocControl()CreateDocControlViewModel ViewModelNew Enum - PaperSizes
LetterLegalA0A1A2A3A4A5B0B1B2B3B4B5New Class - PaperSizeHolder
PaperSizeHolder(PaperSizes, double, double, string)PaperSizes PaperSizedouble Widthdouble HeightNew Enum - CreateDocFrom
BlankImageNew Enum - ImageCreationType
FileCameraNoneNew Class - CreateDocControlViewModel
CreateDocControlViewModel() -ObservableCollection<PaperTypeHolder> AvailablePaperTypesObservableCollection<PaperSizeHolder> AvailablePaperSizesstring DocumentTitleCreateDocFrom DocumentTypebool IsPortraitPaperSizeHolder SelectedPaperSizePaperTypeHolder SelectedPaperTypeint TotalPagesstring DefaultDocumentNameBitmapImage PreviewImagebool IsImageSelectedImageCreationType ImageTypeevent DocumentCreationFailedevent NewDocumentCreatedRelayCommand CMDPickImageFromFileRelayCommand CMDPickImageFromCameraRelayCommand CMDCreateDocumentDid you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales