We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a67bee1 commit d14693aCopy full SHA for d14693a
libraries/radpdfprocessing/editing/block.md
@@ -256,7 +256,10 @@ The code in __Example 9__ splits a block in two. The first will contains text "H
256
257
//Size size = block.Measure(helloSize); //This method is obsolete since Q4 2024.
258
259
- Size size = block.Measure(helloSize, TimeSpan.FromSeconds(10));
+ CancellationTokenSource cancellationTokenSource = new(TimeSpan.FromSeconds(10));
260
+ CancellationToken cancellationToken = cancellationTokenSource.Token;
261
+
262
+ Size size = block.Measure(helloSize, cancellationToken);
263
264
Block secondBlock = block.Split();
265
{{endregion}}
0 commit comments