ASP.NET MVC Controls
ViewerBase Class Members
Properties  Methods 

The following tables list the members exposed by ViewerBase.

Public Properties
 NameDescription
Public PropertyComponentsGets the child components. (Inherited from C1.Web.Mvc.Component)
Public PropertyCssClassGets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyCssStylesGets the CSS styles. (Inherited from C1.Web.Mvc.Control)
Public PropertyFilePathGets or sets the document path.  
Public PropertyFullScreenGets or sets whether viewer is under full screen mode.  
Public PropertyHeightGets or sets the height of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyHtmlAttributesGets the HTML attributes. (Inherited from C1.Web.Mvc.Control)
Public PropertyIdGets or sets the component id. (Inherited from C1.Web.Mvc.Component)
Public PropertyIsDisabledGets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control)
Public PropertyIsTemplateGets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control)
Public PropertyMouseModeGets or sets a value indicating the mouse behavior.  
Public PropertyOnClientFullScreenChangedOccurs after the full screen mode is changed.  
Public PropertyOnClientGotFocusOccurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOnClientLostFocusOccurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOnClientPageIndexChangedOccurs after the page index is changed.  
Public PropertyOnClientQueryLoadingDataQueries the request data sent to the service before loading the document.  
Public PropertyOnClientSelectMouseModeChangedOccurs after the select mouse mode is changed.  
Public PropertyOnClientViewModeChangedOccurs after the view mode is changed.  
Public PropertyOnClientZoomFactorChangedOccurs after the zoom factor is changed.  
Public PropertySelectorGets or sets a value which specifies the selector. (Inherited from C1.Web.Mvc.Control)
Public PropertyServiceUrlGets or sets the service url. It works as "~/api/" when it is not set.  
Public PropertyTemplateBindingsGets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control)
Public PropertyThresholdWidthGets or sets the threshold to switch between mobile and PC template  
Public PropertyUniqueIdGets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyViewModeGets or sets the view mode.  
Public PropertyWidthGets or sets the width of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyZoomFactorGets or sets the zoom factor.  
Public PropertyZoomModeGets or sets a value indicating the current zoom mode to show the document pages.  
Top
Public Methods
 NameDescription
Public MethodRenderRender the component result to the writer. (Inherited from C1.Web.Mvc.Control)
Public MethodToHtmlStringReturns an HTML-encoded string. (Inherited from C1.Web.Mvc.Component)
Top
Extension Methods
 NameDescription
Public Extension MethodToTemplate(IHtmlString)Render the html string in template mode.
Top
See Also

Reference

ViewerBase Class
C1.Web.Mvc.Viewer Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback