enabling features - Envivo-Software/Envivo.Fresnel GitHub Wiki

Enabling features

You can turn some features on (or off) in the bootstrap process. Not all features may be available with your version of the software.

Within the AppLauncher project, open the Project.cs file to reveal the bootstrapper code. Here, you can use the WithFeature commands like so:

using Envivo.Fresnel.Features; //👈

  ...

  var form = 
      new BlazorWinFormBuilder()
      ...
      .WithFeature(Feature.DoodleMode, FeatureState.On) //👈
      .WithFeature(Feature.PanZoom, FeatureState.Off)   //👈
      ...
      .Build()