DocumentSizeChangedEventArgs Class
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Server. Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.Server. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
- Inherits
- Event
Args - Document
Size Changed Event Args
- Event
Description
The DocumentSizeChangedEventArgs class informs about a changed document size. The size of the document changes, if there are more or less pages, or if the size of the pages has been changed.
Syntax
public class DocumentSizeChangedEventArgs : EventArgsPublic Class DocumentSizeChangedEventArgs
Inherits EventArgsExamples
The following example includes the width value from a Document Size Changed Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Width: {documentSizeChangedEventArgs.Width}");
Console.WriteLine("Document Size Changed Event Args is ready for use.");Console.WriteLine($"Width: {documentSizeChangedEventArgs.Width}")
Console.WriteLine("Document Size Changed Event Args is ready for use.")