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


IGPSchematicBuilder.GPGenerateDiagram Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Schematic)  

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#]

Optional Values

EnumGPValue   Supply 0 as a default value.
BuilderOptions   Supply "0" as a default value.
CancelTracker   Supply 0 as a default value.
Messages   Supply 0 as a default value.
[C++]
HRESULT GPGenerateDiagram(
  BSTR DiagramName,
  ISchematicDiagramContainer* DiagramContainer,
  IEnumGPValue* EnumGPValue,
  BSTR BuilderOptions,
  ITrackCancel* CancelTracker,
  IGPMessages* Messages,
  ISchematicDiagram** Diagram
);
[C++]

Parameters DiagramName [in] DiagramName is a parameter of type BSTR DiagramContainer [in]
DiagramContainer is a parameter of type ISchematicDiagramContainer EnumGPValue [in, optional, defaultvalue(0)]
EnumGPValue is a parameter of type IEnumGPValue BuilderOptions [in, optional, defaultvalue(0)] BuilderOptions is a parameter of type BSTR CancelTracker [in, optional, defaultvalue(0)]
CancelTracker is a parameter of type ITrackCancel Messages [in, optional, defaultvalue(0)]
Messages is a parameter of type IGPMessages 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

IGPSchematicBuilder Interface