Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dears,
I'm a new in API with VS. Please help me how to set the Button Size in the Ribbon Tab with large size in default or large size only? - I'm using this code. (In this case I wanna some button always in large size = "LargeIcon_32x32")
Dim oCtrlDefs As ControlDefinitions = m_inventorApplication.CommandManager.ControlDefinitions mButtonDef = oCtrlDefs.AddButtonDefinition( _ "Custom Cmd", _ "Company:AddInName:Button1", _ CommandTypesEnum.kQueryOnlyCmdType, _ "AddInGuid", _ "Description", _ "Tolltip text", _ StandardIcon_16x16, _ LargeIcon_32x32, _ ButtonDisplayEnum.kDisplayTextInLearningMode)
Thanks you!
Solved! Go to Solution.