C# 클래스 SourceWriter.PreviewVIewController

The SourceWriter.PreviewVIewController is used to present a formatted preview of the final output of a given document to the user.
상속: NSViewController
파일 보기 프로젝트 열기: xamarin/mac-samples

Private Properties

프로퍼티 타입 설명
ReleaseDesignerOutlets void

공개 메소드들

메소드 설명
DisplayPreview ( string text, string filePath ) : void

Displays the given text string as final output to the user using a WebKit view.

DisplayZoomLevel ( ) : void

Displays the current zoom level.

OriginalSize ( ) : void

Returns the document preview to its original size.

PreviewVIewController ( IntPtr handle ) : System

Initializes a new instance of the SourceWriter.PreviewVIewController class.

PrintPreview ( ) : void

Prints the preview.

ScrollToBottom ( ) : void

Scrolls to bottom of the document.

ScrollToTop ( ) : void

Scrolls to the top of the document.

ViewDidAppear ( ) : void

This methods is called after the view is displayed.

ViewWillAppear ( ) : void

Called before the view is presented to the user.

ZoomIn ( ) : void

Zooms in on the document preview.

ZoomOut ( ) : void

Zooms out on the document preview.

비공개 메소드들

메소드 설명
ReleaseDesignerOutlets ( ) : void

메소드 상세

DisplayPreview() 공개 메소드

Displays the given text string as final output to the user using a WebKit view.
public DisplayPreview ( string text, string filePath ) : void
text string The formatted text to display.
filePath string
리턴 void

DisplayZoomLevel() 공개 메소드

Displays the current zoom level.
public DisplayZoomLevel ( ) : void
리턴 void

OriginalSize() 공개 메소드

Returns the document preview to its original size.
public OriginalSize ( ) : void
리턴 void

PreviewVIewController() 공개 메소드

Initializes a new instance of the SourceWriter.PreviewVIewController class.
public PreviewVIewController ( IntPtr handle ) : System
handle System.IntPtr Handle.
리턴 System

PrintPreview() 공개 메소드

Prints the preview.
public PrintPreview ( ) : void
리턴 void

ScrollToBottom() 공개 메소드

Scrolls to bottom of the document.
public ScrollToBottom ( ) : void
리턴 void

ScrollToTop() 공개 메소드

Scrolls to the top of the document.
public ScrollToTop ( ) : void
리턴 void

ViewDidAppear() 공개 메소드

This methods is called after the view is displayed.
public ViewDidAppear ( ) : void
리턴 void

ViewWillAppear() 공개 메소드

Called before the view is presented to the user.
public ViewWillAppear ( ) : void
리턴 void

ZoomIn() 공개 메소드

Zooms in on the document preview.
public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

Zooms out on the document preview.
public ZoomOut ( ) : void
리턴 void