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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기