PdfFormattedContent.SplitByBox Method
Overloads
| Name | Description |
|---|---|
| SplitByBox(Double,Double) | Gets the formatted content that fits in the given box. |
| SplitByBox(Double,Double,Boolean) | Gets the formatted content that fits in the given box. |
SplitByBox(Double,Double)
Gets the formatted content that fits in the given box.
Parameters
width Double
The box width.
height Double
The box height.
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.
SplitByBox(Double,Double,Boolean)
Gets the formatted content that fits in the given box.
Parameters
width Double
The box width.
height Double
The box height.
updateParagraphs Boolean
If true, the list of paragraphs is also updated to reflect the split.
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.