Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
|
A Page View is a user control that when loaded with a Page Model will display the PDF document. Scrolling and zooming (using Ctrl plus the mouse wheel). are automatically supported. While it is possible to search within the open pages, this is more easily achieved using the PdfViewer control. More...
Public Member Functions | |
void | selection_Changed (object sender, SelectionChangedEvent e) |
string | GetSelectedText () |
Gets whatever text has been selected within the PageView control. This may be located in multiple separate areas within the document. More... | |
void | SelectText (Rectangle screenSelectionRect) |
void | SelectTextWithRect (Rectangle screenSelectionRect) |
void | search_Changed (object sender, SearchChangedEvent e) |
bool | SetCurrentFoundTextByIndexAbs (int selectedIndex) |
This method is provides suppport for the PdfViewer class. it is not intended that it will be called from end-user code. More... | |
bool | NextFoundText () |
Shows the next occurrence of matched text, scrolling the document so that the occurrence is visible. If no match is found then does nothing. More... | |
bool | PreviousFoundText () |
Shows the previous occurrence of matched text, scrolling the document so that the occurrence is visible. If no match is found then does nothing. More... | |
void | SearchText (string str, bool matchCase, bool matchWholeWord) |
Searches the visible pages within the pages model for the specified text. More... | |
void | StopSearch () |
Terminats the current search if one is in progress. | |
void | EnsureVisible (PdfPage pdfCurrentPage, RectangleF pdfVisibleBound) |
Scrolling the document so that the page and rectangle are visible. More... | |
PageView () | |
Initializes a new instance of the PageView class. | |
delegate void | MethodSizeArgument (Size size) |
void | SetAutoScrollMinSize (Size size) |
delegate void | MethodPointArgument (Point point) |
void | SetAutoScrollPosition (Point point) |
RectangleF | GetPageRectangle (int targetPageIndex) |
void | EnsureVisible (int pageIndex) |
void | ClearSelection () |
Clears the selection. | |
void | ClearSelection (bool withEvent) |
Clears the selection. More... | |
void | DrawString (Graphics graphics, float x, float y, float emSize, String text, Color textColor) |
Draws the string. More... | |
void | SetZoom (float zoom) |
float | GetCurrentZoom () |
Gets the current zoom. More... | |
bool | ZoomToMarque (RectangleF marque) |
Zooms to marque. More... | |
delegate void | MethodTabArgument (DocumentPropertiesTab tab) |
void | DocumentProperties (DocumentPropertiesTab tab) |
Properties | |
PagesModel | Model [getset] |
Gets or sets the model. More... | |
PageMagnification? | PageMagnification [getset] |
Gets or sets the page magnification. More... | |
PageLayout? | PageLayout [getset] |
Gets or sets the page layout. More... | |
int | CurrentPage [getset] |
Gets or sets the current page. More... | |
DraggerState | DraggerState [getset] |
Gets or sets the state of the dragger. More... | |
PointF | Origin [get] |
Gets the origin. More... | |
Events | |
EventHandler< SearchChangedEvent > | SearchChanged = null |
EventHandler< MarqueEventArgs > | MarqueeSelected |
Occurs when [marquee selected]. | |
EventHandler< EventArgs > | PagesChanged |
Occurs when pages changed. | |
EventHandler< EventArgs > | PositionChanged |
Occurs when view position changed. | |
A Page View is a user control that when loaded with a Page Model will display the PDF document. Scrolling and zooming (using Ctrl plus the mouse wheel). are automatically supported. While it is possible to search within the open pages, this is more easily achieved using the PdfViewer control.
void SolidFramework.Forms.PageView.ClearSelection | ( | bool | withEvent | ) |
Clears the selection.
withEvent | if set to true with event. |
void SolidFramework.Forms.PageView.DrawString | ( | Graphics | graphics, |
float | x, | ||
float | y, | ||
float | emSize, | ||
String | text, | ||
Color | textColor | ||
) |
Draws the string.
graphics | The graphics. |
x | The x. |
y | The y. |
emSize | Size of the em. |
text | The text. |
textColor | Color of the text. |
void SolidFramework.Forms.PageView.EnsureVisible | ( | PdfPage | pdfCurrentPage, |
RectangleF | pdfVisibleBound | ||
) |
Scrolling the document so that the page and rectangle are visible.
pdfCurrentPage | |
pdfVisibleBound |
float SolidFramework.Forms.PageView.GetCurrentZoom | ( | ) |
Gets the current zoom.
string SolidFramework.Forms.PageView.GetSelectedText | ( | ) |
Gets whatever text has been selected within the PageView control. This may be located in multiple separate areas within the document.
bool SolidFramework.Forms.PageView.NextFoundText | ( | ) |
Shows the next occurrence of matched text, scrolling the document so that the occurrence is visible. If no match is found then does nothing.
true
if another match was found; otherwise false
.bool SolidFramework.Forms.PageView.PreviousFoundText | ( | ) |
Shows the previous occurrence of matched text, scrolling the document so that the occurrence is visible. If no match is found then does nothing.
true
if another match was found; otherwise false
.void SolidFramework.Forms.PageView.SearchText | ( | string | str, |
bool | matchCase, | ||
bool | matchWholeWord | ||
) |
Searches the visible pages within the pages model for the specified text.
str | Text to search for. |
matchCase | Specifies whether matches should be case sensitive. |
matchWholeWord | Specifies whether matches should require that the found words exactly match the search string. |
bool SolidFramework.Forms.PageView.SetCurrentFoundTextByIndexAbs | ( | int | selectedIndex | ) |
This method is provides suppport for the PdfViewer class. it is not intended that it will be called from end-user code.
selectedIndex | Index of the match to scroll to. |
bool SolidFramework.Forms.PageView.ZoomToMarque | ( | RectangleF | marque | ) |
Zooms to marque.
marque | The marque. |
|
getset |
Gets or sets the current page.
The current page.
|
getset |
Gets or sets the state of the dragger.
The state of the dragger.
|
getset |
Gets or sets the model.
The model.
|
get |
Gets the origin.
The origin.
|
getset |
Gets or sets the page layout.
The page layout.
|
getset |
Gets or sets the page magnification.
The page magnification.