AGI AgAttrAutomation 11 Send comments on this topic.
ToFormattedString Method (IAgAttrBuilder)
See Also 
DispPlugin
The plugin to be serialized to XML.
DispScope
The attribute container (scope) where the attribute will be added.
FormatId
Name of the XML format to use. Valid formats include "XML" and "BCXML".





Description

Get a String representation of the Attribute Scope, formatted using the specified FormatId. (internal use)

Syntax

[Visual Basic .NET]
Public Function ToFormattedString( _
   ByVal DispPlugin As Object, _
   ByVal DispScope As Object, _
   ByVal FormatId As String _
) As String

[C#]
public string ToFormattedString(
Object DispPlugin,
Object DispScope,
string FormatId
);

[Managed C++]
public: String __gc ^ ToFormattedString(
IUnknown ^ DispPlugin,
IUnknown ^ DispScope,
String __gc ^ FormatId
);

[Java]
public String toFormattedString(
Object DispPlugin,
Object DispScope,
String FormatId
);

[Unmanaged C++]
public: HRESULT ToFormattedString(
IUnknown * DispPlugin,
IUnknown * DispScope,
BSTR FormatId,
BSTR * ReturnValue
);

Parameters

DispPlugin
The plugin to be serialized to XML.
DispScope
The attribute container (scope) where the attribute will be added.
FormatId
Name of the XML format to use. Valid formats include "XML" and "BCXML".

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1