getTextSymbol method

ArcGISSymbol getTextSymbol({
  1. required int level,
})

Get the text symbol used for the grid labels at the given resolution level.

Parameters:

  • level — The resolution level.

Return Value: An ArcGISSymbol. Returns null on error.

Implementation

ArcGISSymbol getTextSymbol({
  required int level,
}) {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Grid_getTextSymbol(
      _handle,
      level,
      errorHandler,
    );
  });
  return ArcGISSymbol._fromHandle(
    objectHandle,
  )!;
}