Method | Description | |
---|---|---|
Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void |
Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream This method does nothing, since nothing is added to the place holder as a control for this item viewer |
|
JPEG_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string JPEG_ViewerCode, string FileExtensions ) : System |
Constructor for a new instance of the JPEG_ItemViewer class, used to display JPEGs linked to pages in a digital resource
|
|
Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void |
Write the item viewer main section as HTML directly to the HTTP output stream
|
Method | Description | |
---|---|---|
set_file_information ( string FileExtensions, bool zoomableViewerIncluded, string zoomableFileExtensions ) : bool |
public Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void | ||
MainPlaceHolder | System.Web.UI.WebControls.PlaceHolder | Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the bulk of the item viewer's output is displayed |
Tracer | Custom_Tracer | Trace object keeps a list of each method executed and important milestones in rendering |
return | void |
public JPEG_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string JPEG_ViewerCode, string FileExtensions ) : System | ||
BriefItem | BriefItemInfo | Digital resource object |
CurrentUser | User_Object | Current user, who may or may not be logged on |
CurrentRequest | Navigation_Object | Information about the current request |
Tracer | Custom_Tracer | Trace object keeps a list of each method executed and important milestones in rendering |
JPEG_ViewerCode | string | JPEG viewer code, as determined by configuration files |
FileExtensions | string | File extensions that this viewer allows, as determined by configuration files |
return | System |
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void | ||
Output | TextWriter | Response stream for the item viewer to write directly to |
Tracer | Custom_Tracer | Trace object keeps a list of each method executed and important milestones in rendering |
return | void |