C# Class SIL.Utils.OLECvt

This helper class allows access to protected members of AxHost used to convert Image and Font objects to OLE objects
Inheritance: System.Windows.Forms.AxHost
Exibir arquivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
ToOLEFont ( Font f ) : StdFont

convert a Font to an OLE Font object

ToOLEPic ( Image i ) : StdPicture

convert an Image to an OLE Picture object

ToOLE_IFontDisp ( Font f ) : IFontDisp

convert a Font to an OLE Font IFontDisp interface

Private Methods

Method Description
OLECvt ( ) : System.Diagnostics.CodeAnalysis
ToOLE_IPictureDisp ( Image image ) : IPictureDisp

Method Details

ToOLEFont() public static method

convert a Font to an OLE Font object
public static ToOLEFont ( Font f ) : StdFont
f System.Drawing.Font
return StdFont

ToOLEPic() public static method

convert an Image to an OLE Picture object
public static ToOLEPic ( Image i ) : StdPicture
i System.Drawing.Image
return StdPicture

ToOLE_IFontDisp() public static method

convert a Font to an OLE Font IFontDisp interface
public static ToOLE_IFontDisp ( Font f ) : IFontDisp
f System.Drawing.Font
return IFontDisp