API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.Autofit method
Resize the page to the bounds of the content placed on local layers
Syntax:
Sub Autofit(Optional ByVal Margin As Double = 0)
Parameters:
Name Type Description
Margin
Double