Class BeforeSavingEventArgs
Namespace: Aspose.Page.XPS.Features.EventBasedModifications
Assembly: Aspose.Page.dll (25.1.2)
Defines the base class for arguments of various before-saving events.
public class BeforeSavingEventArgs<t> where T : IModificationAPI
Type Parameters
T
The modification API type.
Inheritance
object ← BeforeSavingEventArgs<t>
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
AbsolutePageNumber
The current absolute page number across all documents within the XPS package.
public int AbsolutePageNumber { get; }
Property Value
DocumentNumber
The current document number within the XPS package.
public int DocumentNumber { get; }
Property Value
ElementAPI
Gets the modification API of the element that is about to be saved.
public T ElementAPI { get; }
Property Value
T
OutputPageNumber
The current output number. It differs from AbsolutePageNumber if the PageNumbers save option is specified.
public int OutputPageNumber { get; }
Property Value
RelativePageNumber
The current page number relative to the current document within the XPS package.
public int RelativePageNumber { get; }
Property Value
int </t>