C# 클래스 Helpers.GeneralHelper

파일 보기 프로젝트 열기: ArupAus/RvtUnit

공개 메소드들

메소드 설명
BitmapToBitmapImage ( Bitmap srcBitmap ) : BitmapImage

Converts the GDI bitmap image to DirectX bitmap image.

SetRevitAsWindowOwner ( Window dialog ) : void

Sets the given window's owner to Revit window.

비공개 메소드들

메소드 설명
FindRevitWindowHandle ( ) : IntPtr

Finds the Revit window handle.

GetCurrentThreadId ( ) : uint

메소드 상세

BitmapToBitmapImage() 공개 정적인 메소드

Converts the GDI bitmap image to DirectX bitmap image.
public static BitmapToBitmapImage ( Bitmap srcBitmap ) : BitmapImage
srcBitmap System.Drawing.Bitmap The source GDI bitmap.
리턴 System.Windows.Media.Imaging.BitmapImage

SetRevitAsWindowOwner() 공개 정적인 메소드

Sets the given window's owner to Revit window.
public static SetRevitAsWindowOwner ( Window dialog ) : void
dialog System.Windows.Window Target window.
리턴 void