Table of Contents

Property StripStyleAttributes

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

StripStyleAttributes

Gets or sets a value indicating whether inline style attributes should be removed from HTML elements in the transcription output.

public bool StripStyleAttributes { get; set; }

Property Value

bool

The default value is true.

Remarks

When enabled, the engine strips all style="..." attributes from HTML tags in the model's output. This is useful when the transcription should contain clean structural markup without visual presentation details such as colors, dimensions, margins, or display properties.