The C1PdfViewer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1PdfViewer |
Initializes a new instance of a C1PdfViewer.
|
Methods
Name | Description | |
---|---|---|
ApplyTemplate | (Inherited from Control.) | |
Arrange |
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update.
(Inherited from UIElement.) |
|
ArrangeOverride |
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
(Inherited from FrameworkElement.) |
|
CaptureMouse |
Attempts to force capture of the mouse to this element.
(Inherited from UIElement.) |
|
CheckAccess | (Inherited from DependencyObject.) | |
ClearValue |
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.) |
|
ClipboardCopy |
Copy the current selection to the clipboard.
|
|
CloseDocument |
Closes the current document.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
FindName |
Finds an element that has the provided identifier name.
(Inherited from FrameworkElement.) |
|
FindNext |
Go to the next occurrence of FindText.
|
|
FindPrevious |
Go to the previous occurrence of FindText.
|
|
Focus | (Inherited from Control.) | |
GetAnimationBaseValue | (Inherited from DependencyObject.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetPages |
Returns a copy of the FrameworkElements that represent the document pages.
|
|
GetTemplateChild | (Inherited from Control.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
GetValue |
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.) |
|
GoToPage |
Jump to a specified page number.
|
|
InvalidateArrange |
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()()().
(Inherited from UIElement.) |
|
InvalidateMeasure |
Invalidates the measurement state (layout) for the element.
(Inherited from UIElement.) |
|
LoadDocument(Stream) |
Load a PDF document from a Stream.
|
|
LoadDocument(String) |
Load a PDF document from a file.
|
|
Measure |
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
(Inherited from UIElement.) |
|
MeasureOverride |
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
(Inherited from FrameworkElement.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
OnApplyTemplate |
Builds the visual tree for the C1PdfViewer control when a new template is applied.
(Overrides FrameworkElement..::..OnApplyTemplate()()()().) |
|
OnCreateAutomationPeer |
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Inherited from UIElement.) |
|
OnGotFocus | (Inherited from Control.) | |
OnKeyDown | (Overrides ControlOnKeyDown(KeyEventArgs).) | |
OnKeyUp | (Inherited from Control.) | |
OnLostFocus | (Inherited from Control.) | |
OnMouseEnter | (Inherited from Control.) | |
OnMouseLeave | (Inherited from Control.) | |
OnMouseLeftButtonDown | (Overrides ControlOnMouseLeftButtonDown(MouseButtonEventArgs).) | |
OnMouseLeftButtonUp | (Inherited from Control.) | |
OnMouseMove | (Inherited from Control.) | |
OnMouseWheel | ||
OnParsingError |
Provides class handling for the C1PdfViewer.ParsingError event that occurs when any error occurs in pdf parsing.
|
|
OnPreparedPage |
Provides class handling for the C1PdfViewer.PreparedPage event that occurs when pages end rendering.
|
|
OnPreparingPage |
Provides class handling for the C1PdfViewer.PreparingPage event that occurs when pages start rendering.
|
|
PrintDocument |
Print the current document.
|
|
ReadLocalValue |
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.) |
|
ReleaseMouseCapture |
Releases the mouse capture, if this element held the capture.
(Inherited from UIElement.) |
|
SaveDocument()()()() |
Save the current document to a file.
|
|
SaveDocument(Stream) |
Save the current document to a Stream.
|
|
SaveDocument(String) |
Save the current document to a file.
|
|
SetBinding | (Inherited from FrameworkElement.) | |
SetValue |
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.) |
|
ToString | (Inherited from Object.) | |
TransformToVisual | (Inherited from UIElement.) | |
UpdateLayout |
Ensures that all visual child elements of this element are properly updated for layout.
(Inherited from UIElement.) |
Fields
Name | Description | |
---|---|---|
ComputedHorizontalScrollBarVisibilityProperty |
Identifies the ComputedHorizontalScrollBarVisibility dependency property.
|
|
ComputedVerticalScrollBarVisibilityProperty |
Identifies the ComputedVerticalScrollBarVisibility dependency property.
|
|
DecreaseZoomCommandProperty |
Identifies the DecreaseZoomCommand dependency property.
|
|
ExtentHeightProperty |
Identifies the ExtentHeight dependency property.
|
|
ExtentWidthProperty |
Identifies the ExtentWidth dependency property.
|
|
FindCountProperty |
Identifies the FindCount dependency property.
|
|
FindNextCommandProperty |
Identifies the FindNextCommand dependency property.
|
|
FindNumberProperty |
Identifies the FindNumber dependency property.
|
|
FindPreviousCommandProperty |
Identifies the FindPreviousCommand dependency property.
|
|
FindTextProperty |
Identifies the FindText dependency property.
|
|
FirstPageCommandProperty |
Identifies the FirstPageCommand dependency property.
|
|
HorizontalOffsetProperty |
Identifies the HorizontalOffset dependency property.
|
|
HorizontalScrollBarVisibilityProperty |
Identifies the HorizontalScrollBarVisibility dependency property.
|
|
IncreaseZoomCommandProperty |
Identifies the IncreaseZoomCommand dependency property.
|
|
IsFlowingProperty |
Identifies the IsFlowing dependency property.
|
|
LastPageCommandProperty |
Identifies the LastPageCommand dependency property.
|
|
NextPageCommandProperty |
Identifies the NextPageCommand dependency property.
|
|
PageCountProperty |
Identifies the PageCount dependency property.
|
|
PageMarginProperty |
Identifies the PageMargin dependency property.
|
|
PageNumberProperty |
Identifies the PageNumber dependency property.
|
|
PageSeparationProperty |
Identifies the PageSeparation dependency property.
|
|
PageSizeProperty |
Identifies the PageSize dependency property.
|
|
PageTemplateProperty |
Identifies the PageTemplate dependency property.
|
|
PreviousPageCommandProperty |
Identifies the PreviousPageCommand dependency property.
|
|
PrintCommandProperty |
Identifies the PrintCommand dependency property.
|
|
SaveCommandProperty |
Identifies the SaveCommand dependency property.
|
|
ScrollableHeightProperty |
Identifies the ScrollableHeight dependency property.
|
|
ScrollableWidthProperty |
Identifies the ScrollableWidth dependency property.
|
|
ScrollBarStyleProperty |
Identifies the ScrollBarStyle dependency property.
|
|
SelectionBackgroundProperty |
Identifies the SelectionBackground dependency property.
|
|
SourceProperty |
Gets or sets the uri of the document.
|
|
ToolbarStyleProperty |
Identifies the ToolbarStyle dependency property.
|
|
ToolbarVisibilityProperty |
Identifies the ToolbarVisibility dependency property.
|
|
VerticalOffsetProperty |
Identifies the VerticalOffset dependency property.
|
|
VerticalScrollBarVisibilityProperty |
Identifies the VerticalScrollBarVisibility dependency property.
|
|
ViewModeProperty |
Identifies the ViewMode dependency property.
|
|
ViewportHeightProperty |
Identifies the ViewportHeight dependency property.
|
|
ViewportWidthProperty |
Identifies the ViewportWidth dependency property.
|
|
ZoomProperty |
Identifies the Zoom dependency property.
|
Properties
Name | Description | |
---|---|---|
ActualHeight |
Gets the rendered height of this element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
ActualWidth |
Gets the rendered width of this element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
AutoContentRotation |
Indicate whether the printer automatically change the page orientation according to the size of content.
|
|
Background |
Gets or sets a brush that describes the background of a control. This is a dependency property.
(Inherited from Control.) |
|
Bookmarks |
Gets the list of top level bookmarks for this document.
|
|
BorderBrush |
Gets or sets a brush that describes the border background of a control. This is a dependency property.
(Inherited from Control.) |
|
BorderThickness |
Gets or sets the border thickness of a control. This is a dependency property.
(Inherited from Control.) |
|
Clip |
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement.) |
|
ComputedHorizontalScrollBarVisibility |
Gets a value that indicates whether the horizontal ScrollBar is visible.
|
|
ComputedVerticalScrollBarVisibility |
Gets a value that indicates whether the vertical ScrollBar is visible.
|
|
Cursor |
Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
DataContext |
Gets or sets the data context for an element when it participates in data binding. This is a dependency property.
(Inherited from FrameworkElement.) |
|
DecreaseZoomCommand |
Gets the ICommand that decreases zoom.
|
|
DefaultStyleKey | (Inherited from Control.) | |
DesiredSize |
Gets the size that this element computed during the measure pass of the layout process.
(Inherited from UIElement.) |
|
Dispatcher | (Inherited from DependencyObject.) | |
ExtentHeight |
Gets the vertical size of all the content for display in the C1PdfViewer.
|
|
ExtentWidth |
Gets the horizontal size of all the content for display in the C1PdfViewer.
|
|
FindCount |
Gets the total number of occurrences of FindText.
|
|
FindNextCommand |
Gets the ICommand that performs the FindNext()()()() operation.
|
|
FindNumber |
Gets the number of the currently selected occurrence of FindText.
|
|
FindPreviousCommand |
Gets the ICommand that performs the FindPrevious()()()() operation.
|
|
FindText |
Gets or sets the text that will be searched by FindNext()()()() and FindPrevious()()()().
|
|
FirstPageCommand |
Gets the ICommand that goes to the first page.
|
|
FontFamily |
Gets or sets the font family of the control. This is a dependency property.
(Inherited from Control.) |
|
FontSize |
Gets or sets the font size. This is a dependency property.
(Inherited from Control.) |
|
FontStretch |
Gets or sets the degree to which a font is condensed or expanded on the screen. This is a dependency property.
(Inherited from Control.) |
|
FontStyle |
Gets or sets the font style. This is a dependency property.
(Inherited from Control.) |
|
FontWeight |
Gets or sets the weight or thickness of the specified font. This is a dependency property.
(Inherited from Control.) |
|
Foreground |
Gets or sets a brush that describes the foreground color. This is a dependency property.
(Inherited from Control.) |
|
Height |
Gets or sets the suggested height of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
HorizontalAlignment |
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.) |
|
HorizontalContentAlignment |
Gets or sets the horizontal alignment of the control's content. This is a dependency property.
(Inherited from Control.) |
|
HorizontalOffset |
Gets or sets a value that indicates the horizontal offset of the scrolled content.
|
|
HorizontalScrollBarVisibility |
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
|
|
IncreaseZoomCommand |
Gets the ICommand that increases zoom.
|
|
IsEnabled | (Inherited from Control.) | |
IsFlowing |
Gets whether the current document is displayed as a flowing document, instead of paged.
|
|
IsHitTestVisible |
Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Inherited from UIElement.) |
|
IsTabStop |
Gets or sets a value that indicates whether a control is included in tab navigation. This is a dependency property.
(Inherited from Control.) |
|
Language |
Gets or sets localization/globalization language information that applies to an element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
LastPageCommand |
Gets the ICommand that goes to the last page.
|
|
Margin |
Gets or sets the outer margin of an element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
MaxHeight |
Gets or sets the maximum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
MaxWidth |
Gets or sets the maximum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
MinHeight |
Gets or sets the minimum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
MinWidth |
Gets or sets the minimum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
Name |
Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. This is a dependency property.
(Inherited from FrameworkElement.) |
|
NextPageCommand |
Gets the ICommand that goes to the next page.
|
|
Opacity |
Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Inherited from UIElement.) |
|
OpacityMask |
Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Inherited from UIElement.) |
|
Padding |
Gets or sets the padding inside a control. This is a dependency property.
(Inherited from Control.) |
|
PageCount |
Gets the current number of display pages for the content hosted by the C1PdfViewer.
|
|
PageMargin |
Gets or sets the margin of the page used for displaying and printing HTML documents.
|
|
PageNumber |
Gets the page number for the currently displayed page.
|
|
PageSeparation |
Gets or sets the separation between pages.
|
|
PageSize |
Gets or sets the size of the page used for displaying and printing HTML documents.
|
|
PageTemplate |
Gets or sets the DataTemplate used to display pages.
|
|
Parent |
Gets the logical parent element of this element.
(Inherited from FrameworkElement.) |
|
PreviousPageCommand |
Gets the ICommand that goes to the previous page.
|
|
PrintCommand |
Gets the ICommand that performs the PrintDocument(String) operation.
|
|
RenderSize |
Gets (or sets, but see Remarks) the final render size of this element.
(Inherited from UIElement.) |
|
RenderTransform |
Gets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement.) |
|
RenderTransformOrigin |
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Inherited from UIElement.) |
|
Resources |
Gets or sets the locally-defined resource dictionary.
(Inherited from FrameworkElement.) |
|
SaveCommand |
Gets the ICommand that saves the document using SaveFileDialog.
|
|
ScrollableHeight |
Gets a value that represents the horizontal size of the area that can be scrolled; the difference between the height of the extent and the height of the viewport.
|
|
ScrollableWidth |
Gets a value that represents the vertical size of the area that can be scrolled; the difference between the width of the extent and the width of the viewport.
|
|
ScrollBarStyle | ||
SelectedText |
Gets the current selection.
|
|
SelectionBackground |
Gets or sets a Brush for this C1PdfViewer's selection.
|
|
Source |
Gets or sets the uri of the document.
|
|
Style |
Gets or sets the style used by this element when it is rendered. This is a dependency property.
(Inherited from FrameworkElement.) |
|
TabIndex |
Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. This is a dependency property.
(Inherited from Control.) |
|
TabNavigation | (Inherited from Control.) | |
Tag |
Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
Template |
Gets or sets a control template. This is a dependency property.
(Inherited from Control.) |
|
ToolbarStyle |
Gets or set the style applied to this C1PdfViewer's toolbar.
|
|
ToolbarVisibility |
Gets or sets the Visibility of this C1PdfViewer toolbar.
|
|
Triggers |
Gets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement.) |
|
UseLayoutRounding | (Inherited from UIElement.) | |
VerticalAlignment |
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.) |
|
VerticalContentAlignment |
Gets or sets the vertical alignment of the control's content. This is a dependency property.
(Inherited from Control.) |
|
VerticalOffset |
Gets or sets a value that indicates the vertical offset of the scrolled content.
|
|
VerticalScrollBarVisibility |
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
|
|
ViewMode |
Gets or sets the ViewMode for this C1PdfViewer.
|
|
ViewportHeight |
Gets a value that contains the vertical size of the viewable content.
|
|
ViewportWidth |
Gets a value that contains the horizontal size of the viewable content.
|
|
Visibility |
Gets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement.) |
|
Width |
Gets or sets the width of the element. This is a dependency property.
(Inherited from FrameworkElement.) |
|
Zoom |
Gets or sets the document zoom.
|
Events
Name | Description | |
---|---|---|
BindingValidationError | (Inherited from FrameworkElement.) | |
FindCountChanged |
Event raised when the [P:FindCount] property has changed.
|
|
FindNumberChanged |
Event raised when the [P:FindNumber] property has changed.
|
|
FindTextChanged |
Event raised when the [P:FindText] property has changed.
|
|
GotFocus |
Occurs when this element gets logical focus.
(Inherited from UIElement.) |
|
IsEnabledChanged | (Inherited from Control.) | |
IsFlowingChanged |
Event raised when the [P:IsFlowing] property has changed.
|
|
KeyDown |
Occurs when a key is pressed while focus is on this element.
(Inherited from UIElement.) |
|
KeyUp |
Occurs when a key is released while focus is on this element.
(Inherited from UIElement.) |
|
LayoutUpdated | (Inherited from FrameworkElement.) | |
Loaded |
Occurs when the element is laid out, rendered, and ready for interaction.
(Inherited from FrameworkElement.) |
|
LostFocus |
Occurs when this element loses logical focus.
(Inherited from UIElement.) |
|
LostMouseCapture |
Occurs when this element loses mouse capture.
(Inherited from UIElement.) |
|
MouseEnter |
Occurs when the mouse pointer enters the bounds of this element.
(Inherited from UIElement.) |
|
MouseLeave |
Occurs when the mouse pointer leaves the bounds of this element.
(Inherited from UIElement.) |
|
MouseLeftButtonDown |
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement.) |
|
MouseLeftButtonUp |
Occurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement.) |
|
MouseMove |
Occurs when the mouse pointer moves while over this element.
(Inherited from UIElement.) |
|
PageCountChanged |
Event raised when the [P:PageCount] property has changed.
|
|
PageNumberChanged |
Event raised when the [P:PageNumber] property has changed.
|
|
ParsingError |
Fired only when any error occurs in pdf parsing.
|
|
PreparedPage |
Fired only when pdf pages end rendering.
|
|
PreparingPage |
Fired only when pdf pages start rendering.
|
|
RequestNavigate |
Fired when a link from a document is clicked.
|
|
SizeChanged |
Occurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Inherited from FrameworkElement.) |
|
TextBlockAdded |
Fired after a TextBlock is created from text in the PDF file, permitting font substitution.
|
|
ViewModeChanged |
Event raised when the [P:ViewMode] property has changed.
|
|
ZoomChanged |
Event raised when the [P:Zoom] property has changed.
|