XFINIUM.PDF Documentation
SplitByBox(Double,Double,Boolean) Method



Xfinium.Pdf.Graphics.FormattedContent Namespace > PdfFormattedContent Class > SplitByBox Method : SplitByBox(Double,Double,Boolean) Method
The box width.
The box height.
If true, the list of paragraphs is also updated to reflect the split.
Gets the formatted content that fits in the given box.
Syntax
'Declaration
 
Public Overloads Function SplitByBox( _
   ByVal width As Double, _
   ByVal height As Double, _
   ByVal updateParagraphs As Boolean _
) As PdfFormattedContent
'Usage
 
Dim instance As PdfFormattedContent
Dim width As Double
Dim height As Double
Dim updateParagraphs As Boolean
Dim value As PdfFormattedContent
 
value = instance.SplitByBox(width, height, updateParagraphs)

Parameters

width
The box width.
height
The box height.
updateParagraphs
If true, the list of paragraphs is also updated to reflect the split.

Return Value

The formatted content that fits in the given box.
Remarks
This method modifies the current object, the formatted content that fits the given box is removed from current object and returned as a new object.
If this method is called multiple times but with a different width then the 'updateParagraphs' parameter should be set to true.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFormattedContent Class
PdfFormattedContent Members
Overload List