Method | Description | |
---|---|---|
AddIn ( ) : System | ||
GetCustomUI ( string RibbonID ) : string |
Returns the XML in Ribbon.xml so OneNote knows how to render our ribbon
|
|
GetImage ( string imageName ) : IStream |
Specified in Ribbon.xml, this method returns the image to display on the ribbon button
|
|
OnAddInsUpdate ( |
||
OnBeginShutdown ( |
Cleanup
|
|
OnConnection ( object Application, ext_ConnectMode ConnectMode, object AddInInst, |
Called upon startup. Keeps a reference to the current OneNote application object.
|
|
OnStartupComplete ( |
||
SetOneNoteApplication ( Microsoft.Office.Interop.OneNote.Application application ) : void | ||
VanillaAddInButtonClicked ( IRibbonControl control ) : Task |
Method | Description | |
---|---|---|
OnDisconnection ( ext_DisconnectMode RemoveMode, |
||
ShowForm ( ) : void |
public GetCustomUI ( string RibbonID ) : string | ||
RibbonID | string | |
return | string |
public GetImage ( string imageName ) : IStream | ||
imageName | string | |
return | IStream |
public OnAddInsUpdate ( |
||
custom | ||
return | void |
public OnBeginShutdown ( |
||
custom | ||
return | void |
public OnConnection ( object Application, ext_ConnectMode ConnectMode, object AddInInst, |
||
Application | object | |
ConnectMode | ext_ConnectMode | |
AddInInst | object | |
custom | ||
return | void |
public OnStartupComplete ( |
||
custom | ||
return | void |
public SetOneNoteApplication ( Microsoft.Office.Interop.OneNote.Application application ) : void | ||
application | Microsoft.Office.Interop.OneNote.Application | |
return | void |
public VanillaAddInButtonClicked ( IRibbonControl control ) : Task | ||
control | IRibbonControl | |
return | Task |