GoDiagram Web Reference
GetShadowOffset Method

Gets the size of a drop shadow for this object in the given view.
Syntax
'Declaration
 
Public Overridable Function GetShadowOffset( _
   ByVal view As GoView _
) As SizeF
public virtual SizeF GetShadowOffset( 
   GoView view
)

Parameters

view

Return Value

A SizeF value that specifies the X and Y offset from the object's position. A positive value for X places the drop shadow toward the right; a positive value for Y places it toward the bottom. Normally this value has small positive values for both Width (X) and Height (Y), resulting in a shadow that corresponds to a light source coming from the top left of the view.
Remarks
By default this just returns view.ShadowOffset. You can override this to customize the size of ths drop shadow for this kind of object.
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

GoObject Class
GoObject Members
GetShadowBrush Method
GetShadowPen Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback