GoDiagram Web Reference
Paint Method (GoText)

Draw a text string according to the attributes specified by this object's properties.
Syntax
'Declaration
 
Public Overrides Sub Paint( _
   ByVal g As Graphics, _
   ByVal view As GoView _
) 
public override void Paint( 
   Graphics g,
   GoView view
)

Parameters

g
view
Remarks
If TransparentBackground is false, we fill the bounds with the BackgroundColor, and we paint a rectangular drop shadow if Shadowed. If TransparentBackground is true, we draw the text (offset) using the shadow pen if Shadowed is true. Then we draw the text using the TextColor. The value of Alignment and either RightToLeft or GoView.RightToLeft determine the actual alignment of the text.
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

Reference

GoText Class
GoText Members
Base Implementation in Paint

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback