FootnoteSeparators
Contenuti
[
Nascondere
]DocumentBase.FootnoteSeparators property
Fornisce l’accesso ai separatori di note a piè di pagina/note di chiusura definiti nel documento.
public FootnoteSeparatorCollection FootnoteSeparators { get; }
Esempi
Mostra come rimuovere il separatore delle note di chiusura.
Document doc = new Document(MyDir + "Footnotes and endnotes.docx");
FootnoteSeparator endnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.EndnoteSeparator];
// Rimuovi il separatore delle note di chiusura.
endnoteSeparator.FirstParagraph.FirstChild.Remove();
Mostra come gestire il formato del separatore delle note a piè di pagina.
Document doc = new Document(MyDir + "Footnotes and endnotes.docx");
FootnoteSeparator footnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.FootnoteSeparator];
// Allinea il separatore delle note a piè di pagina.
footnoteSeparator.FirstParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Center;
Guarda anche
- class FootnoteSeparatorCollection
- class DocumentBase
- spazio dei nomi Aspose.Words
- assemblea Aspose.Words