ArcObjects Library Reference (Schematic)  

ISchematicBuilder.GenerateDiagram Method

Generates a new schematic diagram implemented by the schematic diagram builder.

[Visual Basic .NET]
Public Function GenerateDiagram ( _
    ByVal DiagramName As String, _
    [ByVal DiagramContainer As ISchematicDiagramContainer], _
    [ByVal PropertySet As IPropertySet], _
    [ByVal Context As ISchematicBuilderContext], _
    [ByVal CancelTracker As ITrackCancel] _
) As ISchematicDiagram
[C#]
public ISchematicDiagram GenerateDiagram (
    string DiagramName,
    ISchematicDiagramContainer DiagramContainer,
    IPropertySet PropertySet,
    ISchematicBuilderContext Context,
    ITrackCancel CancelTracker
);
[C++]
HRESULT GenerateDiagram(
  BSTR DiagramName,
  ISchematicDiagramContainer* DiagramContainer,
  IPropertySet* PropertySet,
  ISchematicBuilderContext* Context,
  ITrackCancel* CancelTracker,
  ISchematicDiagram** Diagram
);
[C++]

Parameters

DiagramName [in]   DiagramName is a parameter of type BSTR DiagramContainer [in, optional, defaultvalue(0)]

  DiagramContainer is a parameter of type ISchematicDiagramContainer

PropertySet [in, optional, defaultvalue(0)]

  PropertySet is a parameter of type IPropertySet

Context [in, optional, defaultvalue(0)]

  Context is a parameter of type ISchematicBuilderContext

CancelTracker [in, optional, defaultvalue(0)]

  CancelTracker is a parameter of type ITrackCancel

Diagram [out, retval]

  Diagram is a parameter of type ISchematicDiagram

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

ISchematicBuilder Interface