Skybound Rebar

RebarButton.GetRenderer Method 

Gets an instance of RebarButtonRenderer that can be used to render this button.

[Visual Basic]
Public Function GetRenderer() As RebarButtonRenderer
[C#]
public RebarButtonRenderer GetRenderer();

Return Value

An instance of RebarButtonRenderer with values initialized based on the current band.

Remarks

Use this method to create a renderer that can be used to draw or measure elements of the current button. It is unlikely that this method will be invoked by your code because the DrawButtonEventArgs already provides a renderer for you when you handle the DrawButton event.

See Also

RebarButton Class | Skybound.Rebar Namespace