C# 클래스 SobekCM.Resource_Object.Divisions.SobekCM_File_Info

상속: MetadataDescribableBase
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명
get_attributes_from_jpeg2000 bool

공개 메소드들

메소드 설명
Compute_Jpeg2000_Attributes ( string File_Location ) : bool

Determine the width and height of a JPEG2000 file by reading the file into a temporary System.Drawing.Bitmap object.

After this method is run, the width and height should now be available by calling the respective properties on this file object

Compute_Jpeg_Attributes ( string File_Location ) : bool

Determine the width and height of a JPEG file by reading the file into a temporary System.Drawing.Bitmap object.

After this method is run, the width and height should now be available by calling the respective properties on this file object

MIME_Type ( string Extenstion ) : string

Gets the MIME Type of this file

This is computed from the provided System_Name's final extension

Set_Technical_Details ( ushort New_Width, ushort New_Height ) : void

Sets the technical details for this image file

SobekCM_File_Info ( ) : System

Constructor creates an empty instance of the SobekCM_File_Info class

SobekCM_File_Info ( string System_Name ) : System

Constructor creates a new instance of the SobekCM_File_Info class

SobekCM_File_Info ( string System_Name, ushort Width, ushort Height ) : System

Constructor creates a new instance of the SobekCM_File_Info class

비공개 메소드들

메소드 설명
get_attributes_from_jpeg2000 ( string File ) : bool

메소드 상세

Compute_Jpeg2000_Attributes() 공개 메소드

Determine the width and height of a JPEG2000 file by reading the file into a temporary System.Drawing.Bitmap object.
After this method is run, the width and height should now be available by calling the respective properties on this file object
public Compute_Jpeg2000_Attributes ( string File_Location ) : bool
File_Location string Current location for this file
리턴 bool

Compute_Jpeg_Attributes() 공개 메소드

Determine the width and height of a JPEG file by reading the file into a temporary System.Drawing.Bitmap object.
After this method is run, the width and height should now be available by calling the respective properties on this file object
public Compute_Jpeg_Attributes ( string File_Location ) : bool
File_Location string Current location for this file
리턴 bool

MIME_Type() 공개 메소드

Gets the MIME Type of this file
This is computed from the provided System_Name's final extension
public MIME_Type ( string Extenstion ) : string
Extenstion string File extension
리턴 string

Set_Technical_Details() 공개 메소드

Sets the technical details for this image file
public Set_Technical_Details ( ushort New_Width, ushort New_Height ) : void
New_Width ushort Width of this image file
New_Height ushort Height of this image file
리턴 void

SobekCM_File_Info() 공개 메소드

Constructor creates an empty instance of the SobekCM_File_Info class
public SobekCM_File_Info ( ) : System
리턴 System

SobekCM_File_Info() 공개 메소드

Constructor creates a new instance of the SobekCM_File_Info class
public SobekCM_File_Info ( string System_Name ) : System
System_Name string System name for the new file
리턴 System

SobekCM_File_Info() 공개 메소드

Constructor creates a new instance of the SobekCM_File_Info class
public SobekCM_File_Info ( string System_Name, ushort Width, ushort Height ) : System
System_Name string System name for the new file
Width ushort Width of this image file
Height ushort Height of this image file
리턴 System