The C1PdfViewer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1PdfViewer |
Initializes a new instance of a C1PdfViewer.
|
Methods
| Name | Description | |
|---|---|---|
|
|
ApplyTemplate |
Loads the relevant control template so that its parts can be referenced. (Inherited from Control.) |
|
|
Arrange |
Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (Inherited from UIElement.) |
|
|
ArrangeOverride |
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior. (Inherited from FrameworkElement.) |
|
|
CaptureMouse |
Sets mouse capture to a UIElement. (Inherited from UIElement.) |
|
|
CheckAccess |
Determines whether the calling thread has access to this object. (Inherited from DependencyObject.) |
|
|
ClearValue |
Clears the local value of a dependency property. (Inherited from DependencyObject.) |
|
|
ClipboardCopy |
Copy the current selection to the clipboard.
|
|
|
CloseDocument |
Closes the current document.
|
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
FindName |
Retrieves an object that has the specified identifier name. (Inherited from FrameworkElement.) |
|
|
FindNext |
Go to the next occurrence of FindText.
|
|
|
FindPrevious |
Go to the previous occurrence of FindText.
|
|
|
Focus |
Attempts to set the focus on the control. (Inherited from Control.) |
|
|
GetAnimationBaseValue |
Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (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 |
Retrieves the named element in the instantiated ControlTemplate visual tree. (Inherited from Control.) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
GetValue |
Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.) |
|
|
GoToPage |
Jump to a specified page number.
|
|
|
InvalidateArrange |
Invalidates the arrange state (layout) for a UIElement. After the invalidation, the UIElement will have its layout updated, which will occur asynchronously. (Inherited from UIElement.) |
|
|
InvalidateMeasure |
Invalidates the measurement state (layout) for a UIElement. (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. Typically, objects that implement custom layout for their layout children call this method from their own MeasureOverride(Size) implementations to form a recursive layout update. (Inherited from UIElement.) |
|
|
MeasureOverride |
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior. (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 |
When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure. (Inherited from UIElement.) |
|
|
OnGotFocus |
Called before the GotFocus event occurs. (Inherited from Control.) |
|
|
OnKeyDown | (Overrides ControlOnKeyDown(KeyEventArgs).) |
|
|
OnKeyUp |
Called before the KeyUp event occurs. (Inherited from Control.) |
|
|
OnLostFocus |
Called before the LostFocus event occurs. (Inherited from Control.) |
|
|
OnMouseEnter |
Called before the MouseEnter event occurs. (Inherited from Control.) |
|
|
OnMouseLeave |
Called before the MouseLeave event occurs. (Inherited from Control.) |
|
|
OnMouseLeftButtonDown | (Overrides ControlOnMouseLeftButtonDown(MouseButtonEventArgs).) |
|
|
OnMouseLeftButtonUp |
Called before the MouseLeftButtonUp event occurs. (Inherited from Control.) |
|
|
OnMouseMove |
Called before the MouseMove event occurs. (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 a local value is set. (Inherited from DependencyObject.) |
|
|
ReleaseMouseCapture |
Removes mouse capture from a UIElement. After this call, typically no object holds mouse 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 |
Attaches a binding to a FrameworkElement, using the provided binding object, and returns a BindingExpressionBase for possible later use. (Inherited from FrameworkElement.) |
|
|
SetValue |
Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.) |
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
|
TransformToVisual |
Returns a transform object that can be used to transform coordinates from the UIElement to the specified object. (Inherited from UIElement.) |
|
|
UpdateLayout |
Ensures that all positions of child objects of a UIElement 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 a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
ActualWidth |
Gets the rendered width of a FrameworkElement. (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 provides the background of the control. (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. (Inherited from Control.) |
|
|
BorderThickness |
Gets or sets the border thickness of a control. (Inherited from Control.) |
|
|
Clip |
Gets or sets the Geometry used to define the outline of the contents of a UIElement. (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 image that displays while the mouse pointer is over a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
DataContext |
Gets or sets the data context for a FrameworkElement when it participates in data binding. (Inherited from FrameworkElement.) |
|
|
DecreaseZoomCommand |
Gets the ICommand that decreases zoom.
|
|
|
DefaultStyleKey |
Gets or sets the key that references the default style for the control. (Inherited from Control.) |
|
|
DesiredSize |
Gets the size that this UIElement computed during the measure pass of the layout process. (Inherited from UIElement.) |
|
|
Dispatcher |
Gets the Dispatcher this object is associated with. (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 used to display text in the control. (Inherited from Control.) |
|
|
FontSize |
Gets or sets the size of the text in this control. (Inherited from Control.) |
|
|
FontStretch |
Gets or sets the degree to which a font is condensed or expanded on the screen. (Inherited from Control.) |
|
|
FontStyle |
Gets or sets the style in which the text is rendered. (Inherited from Control.) |
|
|
FontWeight |
Gets or sets the thickness of the specified font. (Inherited from Control.) |
|
|
Foreground |
Gets or sets a brush that describes the foreground color. (Inherited from Control.) |
|
|
Height |
Gets or sets the suggested height of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
HorizontalAlignment |
Gets or sets the horizontal alignment characteristics that are applied to a FrameworkElement when it is composed in a layout parent, such as a panel or items control. (Inherited from FrameworkElement.) |
|
|
HorizontalContentAlignment |
Gets or sets the horizontal alignment of the control's content. (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 |
Gets or sets a value indicating whether the user can interact with the control. (Inherited from Control.) |
|
|
IsFlowing |
Gets whether the current document is displayed as a flowing document, instead of paged.
|
|
|
IsHitTestVisible |
Gets or sets whether the contained area of this UIElement can return true values for hit testing. (Inherited from UIElement.) |
|
|
IsTabStop |
Gets or sets a value that indicates whether a control is included in tab navigation. (Inherited from Control.) |
|
|
Language |
Gets or sets localization/globalization language information that applies to a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
LastPageCommand |
Gets the ICommand that goes to the last page.
|
|
|
Margin |
Gets or sets the outer margin of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
MaxHeight |
Gets or sets the maximum height constraint of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
MaxWidth |
Gets or sets the maximum width constraint of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
MinHeight |
Gets or sets the minimum height constraint of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
MinWidth |
Gets or sets the minimum width constraint of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
Name |
Gets or sets the identifying name of the object. When a XAML processor creates the object tree from XAML markup, run-time code can refer to the XAML-declared object by this name. (Inherited from FrameworkElement.) |
|
|
NextPageCommand |
Gets the ICommand that goes to the next page.
|
|
|
Opacity |
Gets or sets the degree of the object's opacity. (Inherited from UIElement.) |
|
|
OpacityMask |
Gets or sets the brush used to alter the opacity of regions of this object. (Inherited from UIElement.) |
|
|
Padding |
Gets or sets the padding inside a control. (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 parent object of this FrameworkElement in the object tree. (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 the final render size of a UIElement. (Inherited from UIElement.) |
|
|
RenderTransform |
Gets or sets transform information that affects the rendering position of a UIElement. (Inherited from UIElement.) |
|
|
RenderTransformOrigin |
Gets or sets the origin point of any possible render transform declared by RenderTransform, relative to the bounds of the UIElement. (Inherited from UIElement.) |
|
|
Resources |
Gets the locally defined resource dictionary. In XAML, you can establish resource items as child object elements of a frameworkElement.Resources property element, through XAML implicit collection syntax. (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 |
Gets or sets the Style used by the ScrollBar control contained in the default template.
|
|
|
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 an instance Style that is applied for this object during rendering. (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. (Inherited from Control.) |
|
|
TabNavigation |
Gets or sets a value that modifies how tabbing and TabIndex work for this control. (Inherited from Control.) |
|
|
Tag |
Gets or sets an arbitrary object value that can be used to store custom information about this object. (Inherited from FrameworkElement.) |
|
|
Template |
Gets or sets a control template. (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 for animations that are defined for a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
UseLayoutRounding |
Gets or sets a value that determines whether rendering for the object and its visual subtree should use rounding behavior that aligns rendering to whole pixels. (Inherited from UIElement.) |
|
|
VerticalAlignment |
Gets or sets the vertical alignment characteristics that are applied to a FrameworkElement when it is composed in a parent object such as a panel or items control. (Inherited from FrameworkElement.) |
|
|
VerticalContentAlignment |
Gets or sets the vertical alignment of the control's content. (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 visibility of a UIElement. A UIElement that is not visible does not render and does not communicate its desired size to layout. (Inherited from UIElement.) |
|
|
Width |
Gets or sets the width of a FrameworkElement. (Inherited from FrameworkElement.) |
|
|
Zoom |
Gets or sets the document zoom.
|
Events
| Name | Description | |
|---|---|---|
|
|
BindingValidationError |
Occurs when a data validation error is reported by a binding source. (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 a UIElement receives focus. (Inherited from UIElement.) |
|
|
IsEnabledChanged |
Occurs when the IsEnabled property changes. (Inherited from Control.) |
|
|
IsFlowingChanged |
Event raised when the [P:IsFlowing] property has changed.
|
|
|
KeyDown |
Occurs when a keyboard key is pressed while the UIElement has focus. (Inherited from UIElement.) |
|
|
KeyUp |
Occurs when a keyboard key is released while the UIElement has focus. (Inherited from UIElement.) |
|
|
LayoutUpdated |
Occurs when the layout of the Silverlight visual tree changes. (Inherited from FrameworkElement.) |
|
|
Loaded |
Occurs when a FrameworkElement has been constructed and added to the object tree. (Inherited from FrameworkElement.) |
|
|
LostFocus |
Occurs when a UIElement loses focus. (Inherited from UIElement.) |
|
|
LostMouseCapture |
Occurs when the UIElement loses mouse capture. (Inherited from UIElement.) |
|
|
MouseEnter |
Occurs when the mouse (or a stylus) enters the bounding area of a UIElement. (Inherited from UIElement.) |
|
|
MouseLeave |
Occurs when the mouse (or the stylus) leaves the bounding area of a UIElement. (Inherited from UIElement.) |
|
|
MouseLeftButtonDown |
Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet) while the mouse pointer is over a UIElement. (Inherited from UIElement.) |
|
|
MouseLeftButtonUp |
Occurs when the left mouse button is released (or the tip of the stylus is removed from the tablet) while the mouse (or the stylus) is over a UIElement (or while a UIElement holds mouse capture). (Inherited from UIElement.) |
|
|
MouseMove |
Occurs when the coordinate position of the mouse (or stylus) changes while over a UIElement (or while a UIElement holds mouse capture). (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 a FrameworkElement. (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.
|