Aspose::Words::Notes::FootnoteSeparatorCollection class
FootnoteSeparatorCollection class
Provides typed access to FootnoteSeparator nodes of a document.
class FootnoteSeparatorCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Notes::FootnoteSeparator>>
Methods
Method | Description |
---|---|
FootnoteSeparatorCollection() | |
GetEnumerator() override | |
GetType() const override | |
idx_get(Aspose::Words::Notes::FootnoteSeparatorType) | Retrieves a FootnoteSeparator of the specified type. |
Is(const System::TypeInfo&) const override | |
static Type() |
Examples
Shows how to manage footnote separator format.
auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Footnotes and endnotes.docx");
System::SharedPtr<Aspose::Words::Notes::FootnoteSeparator> footnoteSeparator = doc->get_FootnoteSeparators()->idx_get(Aspose::Words::Notes::FootnoteSeparatorType::FootnoteSeparator);
// Align footnote separator.
footnoteSeparator->get_FirstParagraph()->get_ParagraphFormat()->set_Alignment(Aspose::Words::ParagraphAlignment::Center);
See Also
- Namespace Aspose::Words::Notes
- Library Aspose.Words for C++