isZoomToFitRestoreEnabled property

bool get isZoomToFitRestoreEnabled

Gets or sets whether the #zoomToFit command ever restores the previous Diagram scale and position. When this property is false, this command always calls Diagram#zoomToFit.

The default value is true. Setting this property does not raise any events.

Implementation

_i2.bool get isZoomToFitRestoreEnabled => _i4.getProperty(
      this,
      'isZoomToFitRestoreEnabled',
    );
set isZoomToFitRestoreEnabled (bool value)

Implementation

set isZoomToFitRestoreEnabled(_i2.bool value) {
  _i4.setProperty(
    this,
    'isZoomToFitRestoreEnabled',
    value,
  );
}