This document is archived and information here might be outdated.  Recommended version.


IGPSchematicBuilder.GPGenerateDiagram Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IG > IGPSchematicBuilder Interface > IGPSchematicBuilder.GPGenerateDiagram Method
ArcGIS Developer Help

IGPSchematicBuilder.GPGenerateDiagram Method

Generates a new schematic diagram from an enum of GP values.

[Visual Basic .NET]
Public Function GPGenerateDiagram ( _
    ByVal DiagramName As String, _
    ByVal DiagramContainer As ISchematicDiagramContainer, _
    [ByVal EnumGPValue As IEnumGPValue], _
    [ByVal BuilderOptions As String], _
    [ByVal CancelTracker As ITrackCancel], _
    [ByVal Messages As IGPMessages] _
) As ISchematicDiagram
[C#]
public ISchematicDiagram GPGenerateDiagram (
    string DiagramName,
    ISchematicDiagramContainer DiagramContainer,
    IEnumGPValue EnumGPValue,
    string BuilderOptions,
    ITrackCancel CancelTracker,
    IGPMessages Messages
);
[C++]
HRESULT GPGenerateDiagram(
  BSTR DiagramName,
  ISchematicDiagramContainer* DiagramContainer,
  IEnumGPValue* EnumGPValue,
  BSTR BuilderOptions,
  ITrackCancel* CancelTracker,
  IGPMessages* Messages
);
[C++]
Parameters
DiagramName [in]

DiagramName is a parameter of type BSTR DiagramContainer [in]
DiagramContainer is a parameter of type ISchematicDiagramContainer* EnumGPValue [in, optional, defaultvalue()]
EnumGPValue is a parameter of type IEnumGPValue* BuilderOptions [in, optional, defaultvalue()]
BuilderOptions is a parameter of type BSTR CancelTracker [in, optional, defaultvalue()]
CancelTracker is a parameter of type ITrackCancel* Messages [in, optional, defaultvalue()]
Messages is a parameter of type IGPMessages*

Product Availability

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

See Also

IGPSchematicBuilder Interface