XpsSerializationProgressChangedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XpsSerializationProgressChangedEventArgs class.
public:
XpsSerializationProgressChangedEventArgs(System::Windows::Xps::Serialization::XpsWritingProgressChangeLevel writingLevel, int pageNumber, int progressPercentage, System::Object ^ userToken);
public XpsSerializationProgressChangedEventArgs (System.Windows.Xps.Serialization.XpsWritingProgressChangeLevel writingLevel, int pageNumber, int progressPercentage, object userToken);
new System.Windows.Xps.Serialization.XpsSerializationProgressChangedEventArgs : System.Windows.Xps.Serialization.XpsWritingProgressChangeLevel * int * int * obj -> System.Windows.Xps.Serialization.XpsSerializationProgressChangedEventArgs
Public Sub New (writingLevel As XpsWritingProgressChangeLevel, pageNumber As Integer, progressPercentage As Integer, userToken As Object)
Parameters
- writingLevel
- XpsWritingProgressChangeLevel
A value that specifies whether the change in progress is an additional page completed or an additional document completed.
- pageNumber
- Int32
A value that specifies the total number of pages or the number of documents that are serialized at the time of the event.
- progressPercentage
- Int32
A value that specifies the percentage of the total serialization job that is complete.
- userToken
- Object
A user-supplied object that provides additional information for the event handler.
Remarks
When writingLevel
is FixedPageWritingProgress, pageNumber
is the number of pages. When writingLevel
is FixedDocumentWritingProgress, pageNumber
is the number of fixed documents.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin