C# Class BuildingCoder.CmdNewTextNote

Inheritance: IExternalCommand
Datei anzeigen Open project: jeremytammik/the_building_coder_samples

Private Properties

Property Type Description
GetDC System.IntPtr
GetDpiX float
GetStringWidth double
ReleaseDC System.Int32

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
Execute_1 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Method Description
GetDC ( IntPtr hwnd ) : IntPtr
GetDpiX ( ) : float
GetStringWidth ( string text, Font font ) : double
ReleaseDC ( IntPtr hwnd ) : Int32

Method Details

Execute() public method

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result

Execute_1() public method

public Execute_1 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result