GoDiagram Web Reference
GetSelectionId Method

Return a document-wide unique string identifier for the given object, or null if cannot be selected in the SVG document.
Syntax
'Declaration
 
Public Overridable Function GetSelectionId( _
   ByVal obj As GoObject _
) As String
public virtual string GetSelectionId( 
   GoObject obj
)

Parameters

obj

Return Value

the IGoIdentifiablePart.PartID, if obj is an IGoIdentifiablePart for which CanSelect() returns true and for which the PartID is nonnegative
Remarks
Only SVG elements that have a selection ID can be selected by the standard mechanisms implemented in SVG scripts when SupportsSelection is true. You may want to override this to return other strings, such as a label's unique text, or some other identifying information.
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

GoSvgWriter Class
GoSvgWriter Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback