[]
Represents a control showing the preview of the associated document.
public class FlexViewer : UIView, IDependencyObject, IComponent, IDisposable
| Name | Description |
|---|---|
| FlexViewer() | Initializes a new instance of the FlexViewer class. |
| FlexViewer(IntPtr) | Initializes a new instance of the FlexViewer class. |
| Name | Description |
|---|---|
| FlexViewerZoomModeProperty | The zoom mode property |
| LoadingPageSizeProperty | Identifies the C1.iOS.Viewer.FlexViewer.LoadingPageSize dependency property. |
| MenuItemsProperty | Identifies the MenuItems dependency property. |
| MenuWidthProperty | The menu width property |
| PaddingProperty | Identifies the Padding dependency property. |
| PageBackgroundColorProperty | Identifies the PageBackgroundColor dependency property. |
| PageBorderColorProperty | Identifies the PageBorderColor dependency property. |
| PageDisplayModeProperty | The display mode property |
| PageSpacingProperty | Identifies the PageSpacing dependency property. |
| RotateProperty | The rotate property |
| ShowMenuProperty | Identifies the ShowMenu dependency property. |
| ShowToolbarProperty | Identifies the ShowToolbar dependency property. |
| Name | Description |
|---|---|
| IntrinsicContentSize | Gets IntrinsicContentSize |
| MenuItems | Gets or sets the menu items. |
| MenuWidth | Gets or sets the width of the hamburger menu. |
| Padding | Gets or sets the amount of padding between pages and the preview window edges. |
| PageBackgroundColor | Gets or sets a color used for filling the page content. |
| PageBorderColor | Gets or sets a brush used for drawing page borders. |
| PageDisplayMode | Gets or sets the display mode. |
| PageSpacing | Gets or sets the amount of padding between pages in the preview. |
| RotateMode | Gets or sets the rotate clockwise. |
| ShowMenu | Gets or sets a value indicating whether the hamburger is visible or not. |
| ShowToolbar | Gets or sets a value indicating whether the toolbar is visible or not. |
| Site | IComponent Site |
| ZoomMode | Gets or sets the preview zoom mode. |
| Name | Description |
|---|---|
| CloseDocument() | Clears the document, removing all content and resetting all properties and settings to their initial default values. |
| Dispose(bool) | |
| GetActiveSearchItem() | Gets the current active search item. Return null if no item is actived. |
| GetVisiblePageNumbers() | Returns numbers of pages which are currently visible in the viewport. |
| LayoutSubviews() | Layout all subviews |
| LoadDocument(Stream, string) | Loads document to the viewer |
| MovedToSuperview() | Moved to superview |
| Next(bool, bool) | Get next search item. Return null if not found. |
| Previous(bool, bool) | Get previous search item. Return null if not found. |
| Refresh() | Refresh layout and data of flexviewer. |
| ResetSearch() | Stops the search mode and removes highlighting from the found text fragments. |
| Save(Stream, bool) | Saves the current PDF document to a System.IO.Stream. |
| Save(string, bool) | Saves the current PDF document to a file. |
| SaveAsBmp(string, OutputRange, SaveAsImageOptions) | Saves the document pages as images in BMP format, one page per output file. The fileName parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if fileName does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else. |
| SaveAsGif(string, OutputRange, SaveAsImageOptions) | Saves the document pages as images in GIF format, one page per output file. The fileName parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if fileName does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else. |
| SaveAsJpeg(string, OutputRange, SaveAsImageOptions) | Saves the document pages as images in JPEG format, one page per output file. The fileName parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if fileName does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else. |
| SaveAsPng(string, OutputRange, SaveAsImageOptions) | Saves the document pages as images in PNG format, one page per output file. The fileName parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if fileName does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else. |
| SaveAsTiff(Stream, OutputRange, SaveAsImageOptions) | Saves the document pages as images to a stream in TIFF format, one page per frame. |
| SaveAsTiff(string, OutputRange, SaveAsImageOptions) | Saves the document pages as images to a file in TIFF format, one page per frame. |
| SearchText(string, bool, bool, bool, bool, bool) | Starts searching text with specified parameters |
| ShowPrintDialog() | Shows the print dialog |
| SizeThatFits(CGSize) | Gets size that fits |
| Name | Description |
|---|---|
| Disposed | Occurs when the object is disposed. |
| DocumentOpening | Occurs when a document stream is being requested. |
| DocumentSaving | Occurs when a document stream is being saved. |
| DocumentSourceChanged | Occurs after the document source is changed. |
| DocumentSourceChanging | Occurs before the document source is changed. |
| MenuItemClicked | Occurs when click on hamburger menu item. |