ImageMan.Net Version 3 Summer 2012 Release
GetToolStripButtons Method
See Also  Send Feedback
DTI.ImageMan Namespace > MarkPie Class : GetToolStripButtons Method





size
The image size
style
The Tool Strip Item Display Style

Glossary Item Box

Gets the tool strip buttons associated with this mark.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetToolStripButtons( _
   ByVal size As ToolButtonImageSize, _
   ByVal style As System.Windows.Forms.ToolStripItemDisplayStyle _
) As System.Windows.Forms.ToolStripButton()
Visual Basic (Usage)Copy Code
Dim instance As MarkPie
Dim size As ToolButtonImageSize
Dim style As System.Windows.Forms.ToolStripItemDisplayStyle
Dim value() As System.Windows.Forms.ToolStripButton
 
value = instance.GetToolStripButtons(size, style)
C# 
public override System.Windows.Forms.ToolStripButton[] GetToolStripButtons( 
   ToolButtonImageSize size,
   System.Windows.Forms.ToolStripItemDisplayStyle style
)
JScript 
public override function GetToolStripButtons( 
   size : ToolButtonImageSize,
   style : System.Windows.Forms.ToolStripItemDisplayStyle
) : System.Windows.Forms.ToolStripButton[];
Managed Extensions for C++ 
public: System.Windows.Forms.ToolStripButton*[]* GetToolStripButtons( 
   ToolButtonImageSize size,
   System.Windows.Forms.ToolStripItemDisplayStyle style
) override 
C++/CLI 
public:
System.Windows.Forms.array<ToolStripButton^>^ GetToolStripButtons( 
   ToolButtonImageSize size,
   System.Windows.Forms.ToolStripItemDisplayStyle style
) override 

Parameters

size
The image size
style
The Tool Strip Item Display Style

Return Value

An array of ToolStripButtons

Remarks

The toolstrip will reflect the current options for this mark.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.