API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.SetLayout method
Sets a different layout type for the document
Syntax:
Sub SetLayout(ByVal Layout As cdrDocLayout, Optional ByVal FacingPages As Boolean = False, Optional ByVal StartOnRightSide As Boolean = True)
Parameters:
Name Type Description
Layout
FacingPages
Boolean
Specifies whether to use facing pages.
StartOnRightSide
Boolean
Specifies whether the facing-page layout starts on the right side of the spread.
Remarks:
The SetLayout method specifies a new document layout.