Layout
Layout
Layout Object of AppleNewsFormat The object for defining columns, gutters, and margins for your article’s designed width.
object LayoutDiscussion
Use the Layout object to define the column-system rules for the components in your document. The column system controls the horizontal position and spacing of your components. The News app uses this information to automatically resize your article for different screen sizes. Configuring your article with 20 columns, a 60-point margin, and a 20-point gutter should give you a sufficiently flexible layout.
After you define your article’s layout, add its components to ArticleDocument.componentLayouts and then position each component using a ComponentLayout object.
You can use object in ArticleDocument.