What are the potential issues with using SetMargins() in TCPDF for margin adjustments?

Using SetMargins() in TCPDF for margin adjustments can lead to issues such as the margins not being applied correctly or the content overflowing outside the page boundaries. To solve this, it is recommended to use SetLeftMargin(), SetRightMargin(), SetTopMargin(), and SetBottomMargin() individually to set specific margins.

// Set specific margins using individual methods
$pdf->SetLeftMargin(10);
$pdf->SetRightMargin(10);
$pdf->SetTopMargin(10);
$pdf->SetBottomMargin(10);