C# 클래스 TUM.CMS.VPL.Scripting.ImageElementGenerator

This class can be used to embed images inside AvalonEdit like this:
상속: ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator
파일 보기 프로젝트 열기: tumcms/TUM.CMS.VPLControl

공개 메소드들

메소드 설명
ConstructElement ( int offset ) : ICSharpCode.AvalonEdit.Rendering.VisualLineElement

Constructs an element at the specified offset. May return null if no element should be constructed.

GetFirstInterestedOffset ( int startOffset ) : int

Gets the first offset >= startOffset where the generator wants to construct an element. Return -1 to signal no interest.

ImageElementGenerator ( string basePath ) : System

비공개 메소드들

메소드 설명
FindMatch ( int startOffset ) : Match
LoadBitmap ( string fileName ) : BitmapImage

메소드 상세

ConstructElement() 공개 메소드

Constructs an element at the specified offset. May return null if no element should be constructed.
public ConstructElement ( int offset ) : ICSharpCode.AvalonEdit.Rendering.VisualLineElement
offset int
리턴 ICSharpCode.AvalonEdit.Rendering.VisualLineElement

GetFirstInterestedOffset() 공개 메소드

Gets the first offset >= startOffset where the generator wants to construct an element. Return -1 to signal no interest.
public GetFirstInterestedOffset ( int startOffset ) : int
startOffset int
리턴 int

ImageElementGenerator() 공개 메소드

public ImageElementGenerator ( string basePath ) : System
basePath string
리턴 System