mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='https://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='https://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Collapse <a href='https://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/adminviewer' title='SobekCM.Library.AdminViewer'>AdminViewer Sub-Namespace</a>AdminViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/aggregationviewer' title='SobekCM.Library.AggregationViewer'>AggregationViewer Sub-Namespace</a>AggregationViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/ckeditor' title='SobekCM.Library.CKEditor'>CKEditor Sub-Namespace</a>CKEditor Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/citation' title='SobekCM.Library.Citation'>Citation Sub-Namespace</a>Citation Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/database' title='SobekCM.Library.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/email' title='SobekCM.Library.Email'>Email Sub-Namespace</a>Email Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/html' title='SobekCM.Library.HTML'>HTML Sub-Namespace</a>HTML Sub-Namespace
Collapse <a href='https://sobekrepository.org/codehelp/library/itemviewer' title='SobekCM.Library.ItemViewer'>ItemViewer Sub-Namespace</a>ItemViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/localization' title='SobekCM.Library.Localization'>Localization Sub-Namespace</a>Localization Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/mainwriters' title='SobekCM.Library.MainWriters'>MainWriters Sub-Namespace</a>MainWriters Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/mysobekviewer' title='SobekCM.Library.MySobekViewer'>MySobekViewer Sub-Namespace</a>MySobekViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/resultsviewer' title='SobekCM.Library.ResultsViewer'>ResultsViewer Sub-Namespace</a>ResultsViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/ui' title='SobekCM.Library.UI'>UI Sub-Namespace</a>UI Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/uploadifive' title='SobekCM.Library.UploadiFive'>UploadiFive Sub-Namespace</a>UploadiFive Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/webcontentviewer' title='SobekCM.Library.WebContentViewer'>WebContentViewer Sub-Namespace</a>WebContentViewer Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/library/aggregationviewbag' title='AggregationViewBag Class'>AggregationViewBag</a>AggregationViewBag
Expand <a href='https://sobekrepository.org/codehelp/library/requestcache' title='RequestCache Class'>RequestCache</a>RequestCache
Expand <a href='https://sobekrepository.org/codehelp/library/resource_web_config_writer' title='Resource_Web_Config_Writer Class'>Resource_Web_Config_Writer</a>Resource_Web_Config_Writer
Expand <a href='https://sobekrepository.org/codehelp/library/sobekcm_assistant' title='SobekCM_Assistant Class'>SobekCM_Assistant</a>SobekCM_Assistant
Expand <a href='https://sobekrepository.org/codehelp/library/static_pages_builder' title='Static_Pages_Builder Class'>Static_Pages_Builder</a>Static_Pages_Builder
Expand <a href='https://sobekrepository.org/codehelp/library/text_search_term_highlighter' title='Text_Search_Term_Highlighter Class'>Text_Search_Term_Highlighter</a>Text_Search_Term_Highlighter
Expand <a href='https://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='https://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

iItemViewerPrototyper.Create_Viewer Method



Creates and returns the item viewer for this viewer type


Namespace: SobekCM.Library.ItemViewer.Viewers
Assembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
iItemViewer Create_Viewer(
	BriefItemInfo CurrentItem,
	User_Object CurrentUser,
	Navigation_Object CurrentRequest
)

Parameters

CurrentItem
Type: SobekCM.Core.BriefItem..::..BriefItemInfo
Digital resource object
CurrentUser
Type: SobekCM.Core.Users..::..User_Object
Current user, who may or may not be logged on
CurrentRequest
Type: SobekCM.Core.Navigation..::..Navigation_Object
Information about the current request

Return Value

Type: iItemViewer
Fully built and initialized item viewer object of this type

Remarks

This method is called whenever a request requires the actual viewer to be created to render the HTML for the digital resource requested. The created viewer is then destroyed at the end of the request

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )