2.2.4.38.35 Project::GetPlotTypeInfo

Description

Syntax

int GetPlotTypeInfo( int nPlotID, DWORD & dwAuxTypeInfo, DWORD & dwAuxPlotInfo, string & strColPattern )

Parameters

nPlotID
[input]typically resource ID in menu
dwAuxTypeInfo
[output] this is internal flags that is needed for other functions like GetPlotDesignations
dwAuxPlotInfo
[output] this is internal flags that is useful when making the plot
strColPattern
[output] string in the form of "XY" to indicate the typical plot designation combinations

Return

Plot Type.

Examples

EX1

void Project_GetPlotTypeInfo_ex1()
{
    DWORD dwAuxTypeInfo;
    DWORD dwAuxPlotInfo;
    string strColPattern;
 
    int nPlotID = IDM_PLOT_LINE;
    int nRet = Project.GetPlotTypeInfo(nPlotID,dwAuxTypeInfo,dwAuxPlotInfo,strColPattern);
 	if(nRet)
 		printf("Get Plot TypeInfo success!");               
}

Remark

See Also

Project::GetPlotDesignations

Header to Include

origin.h