C# 클래스 SobekCM.Library.MySobekViewer.Page_Image_Upload_MySobekViewer

상속: abstract_MySobekViewer
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application

공개 메소드들

메소드 설명
Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Add controls directly to the form in the main control area placeholder

Page_Image_Upload_MySobekViewer ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Page_Image_Upload_MySobekViewer class

ScaleImage ( Image SourceImage, int MaxWidth, int MaxHeight ) : Image

Scales an existing SourceImage to a new max width / max height

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed in the main SobekCM viewer area

This adds the template HTML for step 2 and the congratulations text for step 4

Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture

This text will appear within the ItemNavForm form tags

비공개 메소드들

메소드 설명
SafeImageFromFile ( string FilePath, FileStream &ReuseStream ) : Image
add_upload_controls ( System.Web.UI.WebControls.PlaceHolder PlaceHolder, Custom_Tracer Tracer ) : void
complete_item_submission ( SobekCM_Item Item_To_Complete, Custom_Tracer Tracer ) : bool

메소드 상세

Add_Controls() 공개 메소드

Add controls directly to the form in the main control area placeholder
public Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder to which all main controls are added
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Page_Image_Upload_MySobekViewer() 공개 메소드

Constructor for a new instance of the Page_Image_Upload_MySobekViewer class
public Page_Image_Upload_MySobekViewer ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
리턴 System

ScaleImage() 공개 정적인 메소드

Scales an existing SourceImage to a new max width / max height
public static ScaleImage ( Image SourceImage, int MaxWidth, int MaxHeight ) : Image
SourceImage System.Drawing.Image Source image
MaxWidth int Maximum width for the new image
MaxHeight int Maximum height for the new image
리턴 System.Drawing.Image

Write_HTML() 공개 메소드

Add the HTML to be displayed in the main SobekCM viewer area
This adds the template HTML for step 2 and the congratulations text for step 4
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Write_ItemNavForm_Closing() 공개 메소드

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
This text will appear within the ItemNavForm form tags
public Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the pop-up form HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void