Aspose::Words::Loading::TxtLoadOptions::get_AutoNumberingDetection method

TxtLoadOptions::get_AutoNumberingDetection method

Gets or sets a boolean value indicating either automatic numbering detection will be performed while loading a document. The default value is true.

bool Aspose::Words::Loading::TxtLoadOptions::get_AutoNumberingDetection() const

Examples

Shows how to disable automatic numbering detection.

auto options = System::MakeObject<Aspose::Words::Loading::TxtLoadOptions>();
options->set_AutoNumberingDetection(false);
auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Number detection.txt", options);

See Also