getGeodatabaseAnnotationTableByServiceLayerId method

GeodatabaseFeatureTable? getGeodatabaseAnnotationTableByServiceLayerId(
  1. int serviceLayerId
)

Gets a feature table containing annotation features from the geodatabase, as specified by the given feature service layer ID.

The service layer ID must match the ArcGISFeatureLayerInfo.serviceLayerId.

Parameters:

  • serviceLayerId — The service layer ID of the geodatabase feature table containing annotation features.

Return Value: If the specified table does not contain annotation feature data, then no table is returned.

Implementation

GeodatabaseFeatureTable? getGeodatabaseAnnotationTableByServiceLayerId(
  int serviceLayerId,
) {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_Geodatabase_getGeodatabaseAnnotationTableByServiceLayerId(
      _handle,
      serviceLayerId,
      errorHandler,
    );
  });
  return GeodatabaseFeatureTable._fromHandle(
    objectHandle,
  );
}