C# 클래스 previewer.PreviewBox

파일 보기 프로젝트 열기: smitec/AutocadPreviewBox 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
pictureBox1 System.Windows.Forms.PictureBox

공개 메소드들

메소드 설명
PreviewBox ( ) : System

Preview Box User Control

assign_image ( System newImage, bool resize = false ) : void
get_image_of_file ( string filename ) : Bitmap
load_file_preview ( string filename, bool resize = false ) : void

Load a dwg preview into the control.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PreviewBox_Resize ( object sender, EventArgs e ) : void
UserControl1_Load ( object sender, EventArgs e ) : void

on load method

pictureBox1_Click ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

PreviewBox() 공개 메소드

Preview Box User Control
public PreviewBox ( ) : System
리턴 System

assign_image() 공개 메소드

public assign_image ( System newImage, bool resize = false ) : void
newImage System
resize bool
리턴 void

get_image_of_file() 공개 메소드

public get_image_of_file ( string filename ) : Bitmap
filename string
리턴 System.Drawing.Bitmap

load_file_preview() 공개 메소드

Load a dwg preview into the control.
public load_file_preview ( string filename, bool resize = false ) : void
filename string Path to the .dwg file
resize bool Should the box resize to the new image
리턴 void

프로퍼티 상세

pictureBox1 공개적으로 프로퍼티

public System.Windows.Forms.PictureBox pictureBox1
리턴 System.Windows.Forms.PictureBox