C# 클래스 Sphere.Plugins.Views.DocumentView

상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: Radnen/spherestudio 1 사용 예제들

공개 메소드들

메소드 설명
Activate ( ) : void

Notifies the document that it received focus.

Copy ( ) : void

Copies the current selection to the clipboard.

Cut ( ) : void

Deletes the selected content and puts it on the clipbord.

Deactivate ( ) : void

Notifies the document that it lost focus.

Load ( string filename ) : void

Loads a file into the document view.

NewDocument ( ) : bool

Sets up the document view for a new file.

Paste ( ) : void

Pastes the contents of the clipboard into the document.

Redo ( ) : void

Reverts the last Undo operation. If the document has been modified since the last Undo, this does nothing.

Restyle ( ) : void

Refreshes the document when the UI style has changed.

Save ( string filename ) : void

Saves the contents of the document to a specified filename.

Undo ( ) : void

Undoes the user's last modification to the document.

ZoomIn ( ) : void

Increases the document zoom level.

ZoomOut ( ) : void

Decreases the document zoom level.

메소드 상세

Activate() 공개 메소드

Notifies the document that it received focus.
public Activate ( ) : void
리턴 void

Copy() 공개 메소드

Copies the current selection to the clipboard.
public Copy ( ) : void
리턴 void

Cut() 공개 메소드

Deletes the selected content and puts it on the clipbord.
public Cut ( ) : void
리턴 void

Deactivate() 공개 메소드

Notifies the document that it lost focus.
public Deactivate ( ) : void
리턴 void

Load() 공개 메소드

Loads a file into the document view.
public Load ( string filename ) : void
filename string The filename of the file to load.
리턴 void

NewDocument() 공개 메소드

Sets up the document view for a new file.
public NewDocument ( ) : bool
리턴 bool

Paste() 공개 메소드

Pastes the contents of the clipboard into the document.
public Paste ( ) : void
리턴 void

Redo() 공개 메소드

Reverts the last Undo operation. If the document has been modified since the last Undo, this does nothing.
public Redo ( ) : void
리턴 void

Restyle() 공개 메소드

Refreshes the document when the UI style has changed.
public Restyle ( ) : void
리턴 void

Save() 공개 메소드

Saves the contents of the document to a specified filename.
public Save ( string filename ) : void
filename string The filename to save under.
리턴 void

Undo() 공개 메소드

Undoes the user's last modification to the document.
public Undo ( ) : void
리턴 void

ZoomIn() 공개 메소드

Increases the document zoom level.
public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

Decreases the document zoom level.
public ZoomOut ( ) : void
리턴 void