Aspose::Page::XPS::Features::EventBasedModifications::BeforeSavingEventArgs class

BeforeSavingEventArgs class

Defines the base class for arguments of various before-saving events.

template<typename>class BeforeSavingEventArgs : public System::Object
ParameterDescription
TThe modification API type.

Methods

MethodDescription
get_AbsolutePageNumber() constThe current absolute page number across all documents within the XPS package.
get_DocumentNumber() constThe current document number within the XPS package.
get_ElementAPI() constGets the modification API of the element that is about to be saved.
get_OutputPageNumber() constThe current output number. It differs from AbsolutePageNumber if the PageNumbers save option is specified.
get_RelativePageNumber() constThe current page number relative to the current document within the XPS package.
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

See Also