IgnoreFootnotes
İçindekiler
[
Saklamak
]FindReplaceOptions.IgnoreFootnotes property
Dipnotları yoksaymayı belirten bir Boole değeri alır veya ayarlar. Varsayılan değerYANLIŞ
.
public bool IgnoreFootnotes { get; set; }
Örnekler
Bul ve değiştir işlemi sırasında dipnotların nasıl göz ardı edileceğini gösterir.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Write("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
builder.InsertFootnote(FootnoteType.Footnote, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
builder.InsertParagraph();
builder.Write("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
builder.InsertFootnote(FootnoteType.Endnote, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
// Bul ve değiştir özelliğini elde etmek için "IgnoreFootnotes" bayrağını "true" olarak ayarlayın
// dipnotların içindeki metni yok sayma işlemi.
// Bul ve değiştir özelliğini elde etmek için "IgnoreFootnotes" bayrağını "false" olarak ayarlayın
// Dipnotların içindeki metni de arama işlemi.
FindReplaceOptions options = new FindReplaceOptions { IgnoreFootnotes = isIgnoreFootnotes };
doc.Range.Replace("Lorem ipsum", "Replaced Lorem ipsum", options);
Ayrıca bakınız
- class FindReplaceOptions
- ad alanı Aspose.Words.Replacing
- toplantı Aspose.Words