Category Drawings and detail, Object ProDwg

Function ProDwgLayerDisplaystatusGet


Description
Retrieves the visibility status for the specified layer and view.
Replacement in Object TOOLKIT: pfcView2D::GetLayerDisplayStatus
Synopsis
#include <ProLayer.h>
ProErrorProDwgLayerDisplaystatusGet(
ProLayer* layer
/* (In)
The layer whose status you want to retrieve
*/
ProView view
/* (In)
The view of drawing whose layer display status is requested
*/
ProLayerDisplay* display_status
/* (Out)
The display status
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDThe specified layer was not found.

Manual References:

  1. Core: Models and Model Items: Layers
  2. Core: Models and Model Items: Layers

Sample Code References:

  1. pt_examples ( TestLayer.c )