Basic Properties

ComponentOne PdfViewer for Silverlight includes several properties that allow you to set the functionality of the control. Some of the more important properties are listed below. Note that you can see PdfViewer for Silverlight Appearance Properties for more information about properties that control appearance.

The following properties let you customize the C1PdfViewer control:

 

Property

Description

FindText

Gets or sets the text that will be searched by FindNext and FindPrevious methods.

HorizontalScrollBarVisibility

Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

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.

SelectionBackground

Gets or sets a Brush for this C1PdfViewer control's selection.

ToolbarStyle

Gets or set the style applied to this C1PdfViewer control's toolbar.

ToolbarVisibility

Gets or sets the Visibility of this C1PdfViewer toolbar.

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.

Zoom

Gets or sets the document zoom.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.