Class MagnifyingControlViewModel
Inheritance
System.Object
MagnifyingControlViewModel
Assembly: pdftron.PDF.Tools.dll
public class MagnifyingControlViewModel : ViewModelBase
Constructors
Declaration
public MagnifyingControlViewModel()
Fields
Declaration
public double _DesiredHorizontalScrollOnLayoutUpdate
Field Value
Type |
Description |
System.Double |
|
Declaration
public double _DesiredVerticalScrollOnLayoutUpdate
Field Value
Type |
Description |
System.Double |
|
Properties
Declaration
public double EffectiveHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public PDFViewCtrl MagnifiedPDFViewCtrl { get; }
Property Value
Type |
Description |
PDFViewCtrl |
|
Declaration
public ToolManager MagnifiedToolManager { get; set; }
Property Value
Methods
Declaration
GetVisibleContentBoundsInPDFViewCtrl(PDFViewCtrl)
Returns a rectangle describing what visible areas of the PDFViewCtrl contain actual content.
Example: At very low zoom, it might be a small centered rectange, while a very high zoom it
will be the entire PDFViewCtrl
Declaration
public static Rect GetVisibleContentBoundsInPDFViewCtrl(PDFViewCtrl ctrl)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
Returns
Type |
Description |
Windows.Foundation.Rect |
|
Declaration
public void SetMagnifyingTool(MagnifyingTool tool)
Parameters
Declaration
public void SetPDFViewCtrl(PDFViewCtrl ctrl)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
Sets the starting position for the view.
Must be set before the PDFViewCtrl and MagnifyingTool are set.
Declaration
public void SetStartPosition(MagnifyingControlViewModel.StartPosition position)
Parameters